Hi Everyone,
First and foremost I would like to let you know I have just made the jump completely from Linux to FreeBSD as my desktop computer and have to say that it is much more polished than I remember (perhaps because I am more advanced at *nix now?). In either case, I was spoiled by Linux LVM and have decided to use Vinum/GVinum on my FreeBSD machine for volume management. Here is what I have:
With the supporting configuration file (as seen when I execute the create command in gvinum
I have also defined /dev/VOL_HOME to mount on /home at boot (configured vinum in /boot/loader.conf).
My question is relatively straight forward-- I see that you can grow volumes that you have created but can you shrink them? That is, I have my 100GB VOL_XEN volume defined that I want to shrink to, say, 20GB and then make a new VOL_DATA for mounting on /data which was possible with LVM.
Is it possible to shrink a created volume without deleting it? Is it possible to shrink a created volume without having it in a vinum RAID5 setup with striping? The only command(s) I see is grow and not shrink or anything of the similar
I also have my disks in a hardware RAID1 so I am not going to or want to uitlize any of vinum's "RAID" technologies [at this time].
Thank you!
First and foremost I would like to let you know I have just made the jump completely from Linux to FreeBSD as my desktop computer and have to say that it is much more polished than I remember (perhaps because I am more advanced at *nix now?). In either case, I was spoiled by Linux LVM and have decided to use Vinum/GVinum on my FreeBSD machine for volume management. Here is what I have:
Code:
gvinum -> l
1 drive:
D a State: up /dev/ad4s1d A: 266239/829439 MB (32%)
2 volumes:
V VOL_HOME State: up Plexes: 1 Size: 450 GB
V VOL_XEN State: up Plexes: 1 Size: 100 GB
2 plexes:
P VOL_HOME.p0 C State: up Subdisks: 1 Size: 450 GB
P VOL_XEN.p0 C State: up Subdisks: 1 Size: 100 GB
2 subdisks:
S VOL_HOME.p0.s0 State: up D: a Size: 450 GB
S VOL_XEN.p0.s0 State: up D: a Size: 100 GB
With the supporting configuration file (as seen when I execute the create command in gvinum
Code:
# Vinum configuration of kozler-work, saved at Fri Mar 4 15:53:53 2011
# Current configuration:
# drive a device /dev/ad4s1d
# volume VOL_HOME
# volume VOL_XEN
# plex name VOL_HOME.p0 org concat vol VOL_HOME
# plex name VOL_XEN.p0 org concat vol VOL_XEN
# sd name VOL_HOME.p0.s0 drive a len 943718400s driveoffset 265s plex VOL_HOME.p0 plexoffset 0s
# sd name VOL_XEN.p0.s0 drive a len 209715200s driveoffset 943718665s plex VOL_XEN.p0 plexoffset 0s
I have also defined /dev/VOL_HOME to mount on /home at boot (configured vinum in /boot/loader.conf).
My question is relatively straight forward-- I see that you can grow volumes that you have created but can you shrink them? That is, I have my 100GB VOL_XEN volume defined that I want to shrink to, say, 20GB and then make a new VOL_DATA for mounting on /data which was possible with LVM.
Is it possible to shrink a created volume without deleting it? Is it possible to shrink a created volume without having it in a vinum RAID5 setup with striping? The only command(s) I see is grow and not shrink or anything of the similar
I also have my disks in a hardware RAID1 so I am not going to or want to uitlize any of vinum's "RAID" technologies [at this time].
Thank you!