I have Solaris-10 server running ZFS file-system. ctdp04_vs03-pttmsp01 is one of the non global zone. I wanted to increase a /ttms/prod file-system of zone, which is actually /zone/ctdp04_vs03-pttmsp01/ttms/prod on global server.
I have added a new disk of 9 GB, which is emcpower56a and now I can see all 4 disks in this zpool. All 4 disks are of 9 GB each.
Yes I had set quota. But I think, I get the reason. I added emcpower56a instead of emcpower56c. I should have added third slice which is complete disk, instead of first partition. But now challenge is, how should I remove this disk. Can we remove disk from ZFS ? "zfs remove pool device" is not allowing.
This is critical file-system, which keep one important application. So we do not want to take any risk, which can break the system. May be we can take downtime of this and then try something
For laughs and giggles, I created a pool with 4x 9GB disk.
I lost a about 200 MB, probably due to the superblock.
the mounted file system shows a loss of another 600MB. This is do to the fact that some of the space is reserved for handling reads and writes.
This is a far cry from from your 12GB loss. I think its time to have a talk with your storage team to see what their take on this is.
# cfgadm -al
Ap_Id Type Receptacle Occupant Condition
c1 scsi-bus connected configured unknown
c1::dsk/c1t0d0 disk connected configured unknown
c1::dsk/c1t1d0 disk connected configured unknown
c1::dsk/c1t2d0 disk connected configured unknown
c1::dsk/c1t3d0 disk connected configured unknown
c1::dsk/c1t4d0 disk connected configured unknown
usb0/1 unknown empty unconfigured ok
usb0/2 unknown empty unconfigured ok
usb0/3 unknown empty unconfigured ok
usb0/4 unknown empty unconfigured ok
usb0/5 unknown empty unconfigured ok
usb0/6 unknown empty unconfigured ok
usb0/7 unknown empty unconfigured ok
usb0/8 unknown empty unconfigured ok
usb1/1 unknown empty unconfigured ok
usb1/2 unknown empty unconfigured ok
usb1/3 unknown empty unconfigured ok
usb1/4 unknown empty unconfigured ok
usb1/5 unknown empty unconfigured ok
usb1/6 unknown empty unconfigured ok
usb1/7 unknown empty unconfigured ok
usb1/8 unknown empty unconfigured ok
# zpool create data c1t1d0 c1t2d0 c1t3d0 c1t4d0
# zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
data 35.8G 79.5K 35.7G 0% ONLINE -
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
data 75K 35.2G 21K /data
#
busi, from storage team it was fine. After some struggle, we took downtime from application team. Took 5 disk of 9 GB each, mounted them as _new and resynched data. Later unmounted older one and renamed _new file-systems to match original one. Means, had to work on completely from scratch
Storage team suggested that we should use ecmpower56c, as c represents 3 rd slice (whole disk).
Thanks Gabriel. Great tutorials and really helpful. Specially for company like mine, where admins go and come frequently.
I am going through you rest of your videos.
let me know If you need anything simple that's not hardware or OK prompt specific.
I am a bit busy these days, but I could definitely put your request on my to do list.
gabriel, I posted another question here - Sliced vx cds veritas format
Just in case, if you are familiar with Veritas Volume Manager. Otherwise, I am also trying to dig this.