D
D
Dmitry Lebedev2021-02-15 10:58:04
linux
Dmitry Lebedev, 2021-02-15 10:58:04

How to increase ZFS per server?

Hello.

There is a server on Centos 7 (it turns on VSphere). It has ZFS installed
Added space on Centos 7 how to increase space on ZFS.

# lsblk     
NAME            MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda               8:0    0  150G  0 disk 
├─sda1            8:1    0    1G  0 part /boot
└─sda2            8:2    0   99G  0 part 
  ├─centos-root 253:0    0   50G  0 lvm  /
  ├─centos-swap 253:1    0  7.9G  0 lvm  [SWAP]
  ├─centos-home 253:2    0   10G  0 lvm  /home
  └─centos-zfs  253:3    0   30G  0 lvm  
sr0              11:0    1 1024M  0 rom

# zpool list
NAME   SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
zfs   29.8G  28.0G  1.75G         -    69%    94%  1.00x  ONLINE  -


You need to add 50GB to Centos-zfs
Further, as I understand it, increase ZFS itself using the zpool set autoexpand=on poolname command?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Swartalf, 2021-02-15
@k3NGuru

Try like this .
So I'm wondering, why create a pull from 1 disk other than tests?
all the advantages of zfs are well revealed just in a multi-disk configuration with good memory for ARC

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question