growing file system in solaris 10
- From: sunmanagers mailing list <sunmanagers@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 13 Feb 2007 13:20:40 -0500 (EST)
Hello folks, I have the following setup
Solaris 10U3 on V240 connected to HP SAN
I have test partition of 5 gig
mounted it under /mnt/3
this is what I see under format:
5. c3t50001FE15006B5A8d3 <HP-HSV200-5020 cyl 638 alt 2 hd 128 sec
128>
/pci@1e,600000/SUNW,qlc@3/fp@0,0/ssd@w50001fe15006b5a8,3
Specify disk (enter its number): 5
so I got additional 5 gig added to SAN and I wanted to grow that file
system to 10 gig as a test.
So I did run:
growfs -M /mnt/3 /dev/rdsk/c3t50001FE15006B5A8d3s7
and it did not work.. I did reboot box few times and did try to
reconfigure it, and nothing works. Every time I go to format I see the
same disk geometry every time...
so I did unmount that file system I then went to format, I did change disk
type and then autoconfigure. It then changed drive geometry to:
5. c3t50001FE15006B5A8d3 <HP-HSV200-5020 cyl 638 alt 2 hd 128 sec
256>
/pci@1e,600000/SUNW,qlc@3/fp@0,0/ssd@w50001fe15006b5a8,3
so then I did try to mount that file system and I get:
[08:09:06] @nwkfin1p: /root > mount /mnt/3
mount: I/O error
mount: Cannot mount /dev/dsk/c3t50001FE15006B5A8d3s7
growing of that partition also not working:
[08:13:21] @nwkfin1p: /root > growfs -M /mnt/3
/dev/rdsk/c3t50001FE15006B5A8d3s7
devinfo: /dev/rdsk/c3t50001FE15006B5A8d3s7: I/O
errordsk/c3t50001FE15006B5A8d3s7
growfs: cannot get partition size
Does anyone know how I can expand my ufs file system without destroying it
and recreating it? I do not care if I have to unmount file system or not,
I do not care if I have to reboot system or bring it down, I just wanted
to make sure I can somehow grow that file system... there is also command:
/usr/lib/fs/ufs/mkfs -G -M /current/mount /dev/rdsk/cXtYdZsA newsize
but I do not know how can I get newsize from... how do I calculate how
many sectors that newsize should be... sorry for maybe obvous questions
but I never work with this before and thats why I am a bit lost...
thanks for any help.
Chris
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
- Prev by Date: DST Daylight Savings and statically linked
- Next by Date: Solaris 10 upgrade from Update 2 to Update 3 doesn't present upgrade option in boot cdrom install
- Previous by thread: DST Daylight Savings and statically linked
- Next by thread: Solaris 10 upgrade from Update 2 to Update 3 doesn't present upgrade option in boot cdrom install
- Index(es):
Relevant Pages
|