![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| vmstat -d with VxVM | kknigga | Filesystems, Disks and Memory | 4 | 01-22-2008 03:56 PM |
| VxVM softpartitions | pressy | SUN Solaris | 3 | 10-27-2006 03:15 PM |
| VxVM disk/lun grow | pressy | UNIX for Advanced & Expert Users | 3 | 03-27-2006 01:39 AM |
| Filesystem resize (AIX 5.3) | balaji_prk | AIX | 5 | 10-28-2005 03:23 PM |
| VxVM | andy11983 | SUN Solaris | 3 | 01-14-2005 10:10 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
VxVM filesystem resize
This is actually a VxVM question. I have a volume/filesystem spread over 4*146G disks. Now I want to shrink the filesystem - which I can do using vxresize. However, I want to shrink so that two of the four disks that the filesystem occupies are removed from the volume. Can I do that?
|
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Yes, you can.
Assuming disks called disk1, disk2, disk3, disk4, volume "vol" and diskgroup "mydg" , and that you want to free disks 3 and 4. Code:
vxassist -g mydg move vol disk1 disk2 \!disk3 \!disk4 |
|
#3
|
||||
|
||||
|
So I should run vxresize to resize the filesystem to, say, 200G and then run vxassist? I just want to know exactly what I am going to have to do, because there is a netbackup master server running on that filesystem and obviously we do not want any data loss...
|
|
#4
|
||||
|
||||
|
Yes, that's exactly it.
Do the resize to make sure you are under the capacity of two of the four disks, then the vxassist. I have had to do this recently when someone decided to grow a volume on a systems where the second plex in a mirror was detached and disassociated and a someone else decided to grow the volume and allocated all of the disks is the diskgroup as available. As a result an additional subdisks were allocated on on of the disks that should only have been assigned to the mirror plex. I'll see if I have a machine handy and I'll a screen dump of this scenario, and the exact sequence. |
||||
| Google The UNIX and Linux Forums |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|