growing file system in solaris 10



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



Relevant Pages

  • RE: infected HD wouldnt boot up, cleaned on another machine - help wi
    ... install and perform a complete Format not a Quick Format: ... Use the ARROW keys to select the partition where you want to install ... Format the partition by using the NTFS file system ...
    (microsoft.public.windowsxp.general)
  • Re: Is FAT32 format gone?
    ... The theoretical limit for a FAT32 partition is 2 terabytes. ... ordinarily recommend using the NTFS file system in an XP environment. ... Just for the record, how would I format a FAT32 partition on, say, a 500 gig ...
    (microsoft.public.windowsxp.general)
  • Re: Digital backup for travelling
    ... > to format as NTFS. ... You will be able to use the 32 GB partition, ... "The FAT file system option is not available if the ... the Windows Setup program uses the FAT16 file system." ...
    (rec.photo.digital)
  • Re: Cannot Format Entire Drive
    ... XP does not use any DOS during the boot process. ... Use the XP install CD to set up the partition as NTFS. ... >> 200 gig hard drive, 59 gig of space being used ... >> I used a Win 98 boot disk to format. ...
    (microsoft.public.windowsxp.general)
  • Re: Why did XP decide my partition has NO file system?
    ... reformatted in Disk Management - first using the quick format option. ... drive is again without a file system. ... CHKDSK started up to check my drive N: (the only partition ...
    (microsoft.public.windowsxp.hardware)

Quantcast