growfs on existing metadevice
From: Robin (storchr_at_xavier.edu)
Date: 06/29/05
- Next message: Joseph Shraibman: "Re: starting rwhod"
- Previous message: Mysterion3000_at_gmail.com: "Re: Is Solaris most popular in production?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 29 Jun 2005 15:55:40 -0400
I need to increase the size of a file system on a Solaris 9 server. The
filesystem is apparently a metadevice, it shows in /etc/vfstab as:
/dev/md/dsk/d15 /dev/md/rdsk/d15 /opt/inlum ufs 1 yes -
metastat:
d15: Concat/Stripe
Size: 37749760 blocks (18 GB)
Stripe 0:
Device Start Block Dbase Reloc
emcpower0a 0 No No
Stripe 1:
Device Start Block Dbase Reloc
emcpower0e 0 No No
Device Relocation Information:
Device Reloc Device ID
emcpower0a No -
emcpower0e No -
c1t1d0 Yes id1,ssd@w20000004cffb86e8
c1t0d0 Yes id1,ssd@w20000004cffb84fa
The filesystem is also has disks allocated to it on an emc san, shows in
format as:
2. c2t0d0 <DGC-RAID5-0099 cyl 40958 alt 2 hd 256 sec 10>
/pci@8,700000/fibre-channel@3/sd@0,0
3. emcpower0a <DGC-RAID5-0099 cyl 40958 alt 2 hd 256 sec 10>
/pseudo/emcp@0
I'm trying to increase the size of this file system, so I choose #2,
used slice 5 because 5 corresponds to "e" in emcpower0e (don't know if
that matters), allocated the rest of the remaining space (25Gb) to that
slice through format:
5 unassigned wm 20482 - 40957 25.00GB (20476/0/0) 52418560
I really have no background in emc, used disksuite once to mirror
filesystems with metatool, so I am really going into this blindly. I
think what I need to do now is:
newfs the slice I just created above with:
newfs /dev/rdsk/c2t0d0s5 OR maybe this isn't necessary?
Now this is where I really don't know where to go, I need to add this
slice to the metadevice d15, do I do it with metattach, like:
metattach d15 /dev/dsk/c2t0d0s5 ?
and are there other commands I need to do in addition to this like
metainit or metaclear? I'm thinking not.
Can the system be used while I'm doing this?
Once the slice is added to the metadevice, I believe I use growfs like:
growfs - M /opt/inlum /dev/md/rdsk/d15
Is this the correct procedure? Please add any commands I need or
corrections to my shot in the dark procedure. Thanks a lot.
- Next message: Joseph Shraibman: "Re: starting rwhod"
- Previous message: Mysterion3000_at_gmail.com: "Re: Is Solaris most popular in production?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|