Solaris:
How to add extra disk and increase ZFS file system spaces
1:request new disk from Storage
2:scan for the new disk
3:verify the new disk
4:lable the new disk
5:add the new disk to ZFS pool
6:extend the file system
-------
1:once The new disk is provisioned, log in to the global zone and run the following command as root user:
Cfgadm-al
2:verify the new disk
echo | Format | grep <LUN_ID>
Where the <LUN_ID> is the storage admin provide to
You'll be the disk name
3:lable the new disk:
Format
You'll be added disk had been format
4:add the new disk to ZFS disk pool
Zpool Add <zpool_name> <disk_name>
can use Command:df-h to find out the Zpool_name
Command
Zlogin Zone17 df-h/data/t30
Or
Df-h/t30
You'll find below result:
FileSystem size used avail capacity mounted on
Trvst_app/t30 196G 57G 139G 30%/t30
ADD the new disk Into/trcst_app pool:
Zpool add Trcst_app c6t3747488474758dhfjfgkhhkkk (disk name)
5 Veryfication The Caonfigration of the pool:
Zpool Status Trcst_app
6:extend The file system:
Check The Quato:
ZFS get quota <zfs_name>
Set The new Quato:
ZFS set quota=<new_size> <zfs_name>
Example:
ZFS get quota trvst_app/t30
Name property value source
Trvst1_app quota 100g local