08-22-2007
Not sure what you are tring to do
would you like to chenage the size of a filesystem ?
chfs -a size=+1 /mountpoint
Would you like to change the size of vg
You can just add a biger disk to the vg
Break the mirror
resize the disk re-attach
remirror
break mirror on small disk
change the size reattach the disk
remirror
Note ! If you use SVC you can Just expand the disk and then just do
chvg -g vgname
tools
bootinfo -s hdiskxx
lsvg |lsvg -il
lsvg |lsvg -ip
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I want to resize my filesystem partitions. Reason is that I have 11GB of disk space unused by Unix which divvy reveals. Is there a way I could resize my filesystems without doing a reinstallation. The secondary problem is that the boot image is too large for a diskette (5MB).
I'm running SCO... (10 Replies)
Discussion started by: sshokunbi
10 Replies
2. UNIX for Dummies Questions & Answers
is there anything such as "resizing file for optimal disk usage"
if so, whats it about? (4 Replies)
Discussion started by: TRUEST
4 Replies
3. UNIX for Advanced & Expert Users
Hi,
Is there are any special preocedure for extending veritas mirror-stripe volume? In my case , volume lay out looks as below
v test - ENABLED ACTIVE 419430400 SELECT - fsgen
pl test-01 test ENABLED ACTIVE 419454720 STRIPE 3/128 RW
sd... (0 Replies)
Discussion started by: 2k7.vipin
0 Replies
4. Filesystems, Disks and Memory
Hi
First post :o
I have recently used Acronis (Backup software for data backup and disaster recovery in Windows and Linux - Acronis) to create identical systems that I need to build.
Everything works OK, but one of the machine has a bigger harddisk (250G) than the one I used to create the... (2 Replies)
Discussion started by: forte712
2 Replies
5. Solaris
I've looked a little but haven't found a solid answer, assuming there is one.
What's better, hardware mirroring or ZFS mirroring? Common practice for us was to use the raid controllers on the Sun x86 servers. Now we've been using ZFS mirroring since U6. Any performance difference? Any other... (3 Replies)
Discussion started by: Lespaul20
3 Replies
6. Solaris
Hi ,
I am new to SVM .when i try to learn RAID 1 , first they are creating two RAID 0 strips through
metainit d51 1 1 c0t0d0s2
metainit d52 1 1 c1t0d0s2
In the next step
metainit d50 -m d51
d50: Mirror is setup
next step is
metaattach d50 d52
d50 : submirror d52 is... (7 Replies)
Discussion started by: vr_mari
7 Replies
7. Solaris
I'm used to using AIX but a new box running Solaris I need a little help with.
The disk are presented from a SAN, the disk needing to change is presented as 148GBs drive which was allocated to a file system as the same. I need to change that without losing any data. I know I can change the disk... (7 Replies)
Discussion started by: ltlawnman
7 Replies
8. HP-UX
Hello,
I'm new to HP-UX and I'm not sure about some concepts related to resizing fs's under this OS.
First of all I'm only asking about resizing ONLINE, it means, without having to umount the fs nor rebooting, etc.
Q1. I've read that in order to resize a fs online there are 2 requirements:... (3 Replies)
Discussion started by: asanchez
3 Replies
9. HP-UX
what is the difference between DRD and Root Mirror Disk using LVM mirror ? (3 Replies)
Discussion started by: maxim42
3 Replies
LEARN ABOUT HPUX
vxreattach
vxreattach(1M) vxreattach(1M)
NAME
vxreattach - reattach disk drives that have once again become accessible
SYNOPSIS
/etc/vx/bin/vxreattach [-br ] [accessname...]
/etc/vx/bin/vxreattach -c accessname
DESCRIPTION
The vxreattach utility reattaches disks to the disk group they were in and retains the same media name.
This operation may be necessary if a disk has a transient failure, or if Veritas Volume Manager (VxVM) starts with some disk drivers
unloaded and unloadable. Disks then enter the failed state. If the problem is fixed, vxreattach may be able to reattach the disks without
plexes being flagged as stale, as long as the reattach happens before any volumes on the disk are started.
vxreattach tries to find a disk in the same disk group with the same disk ID for the disk(s) to be reattached. The reattach operation may
fail even after finding the disk with the matching disk ID if the original cause (or some other cause) for the disk failure still exists.
vxreattach is usually invoked by vxdiskadm when performing disk recovery. It is not intended to be run directly by an administrator.
OPTIONS
-b Performs the reattach operation in the background.
-c Checks if a reattach is possible. No operation is performed, but the name of the disk group and disk media name at which the
disk can be reattached is displayed.
-r Tries to recover stale plexes of any volumes on the failed disk. It does this by calling vxrecover.
EXIT CODES
A zero exit status is returned if the reattach is performed; non-zero is returned otherwise.
See vxintro(1M) for a list of standard exit codes.
EXAMPLES
Check if reattachment of disk c1t2d0 is possible:
/etc/vx/bin/vxreattach -c c1t2d0
If reattachment is possible, vxreattach returns with an exit status of 0 and displays the disk group name and disk media name. If reat-
tachment is not possible, vxreattach returns an exit status of 2 and displays an error.
Attempt to reattach the disk in the foreground and try to recover stale plexes of any volumes on the disk:
/etc/vx/bin/vxreattach -r c1t2d0
If the reattachment is successful, vxreattach returns an exit status of 0. Otherwise, if an error occurs, vxreattach returns a non-zero
exit code as defined on vxintro(1M).
FILES
/etc/default/vxplex Standard defaults file that can be used to determine whether FastResync is used when attaching plexes. See vxplex(1M)
for details.
SEE ALSO
vxdiskadm(1M), vxintro(1M), vxplex(1M), vxrecover(1M)
VxVM 5.0.31.1 24 Mar 2008 vxreattach(1M)