Displaying 1 result from an estimated 1 matches for "path_to_block_device".
2010 Nov 30
0
Resizing ZFS block devices and sbdadm
...'s say you have a 5G block device called pool/test
You can resize it by doing:
zfs set volsize=10G pool/test
However if the device was already imported into comstar then stmfadm list-lu -v <guid> will still only report the original 5G block size. You can use sbdadm modify-lu -s 10G </path_to_block_device> but I''m not sure if there is a chance you might run into a size difference between ZFS and sbd.
i.e.- if I specify 10G in ZFS, and I do an sbdadm modify-lu -s 10G is there any chance they won''t align and I''ll try to write past the end of the zvol?
Thanks in advance-...