Skip to Main Content

Hardware

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

growfs: cannot get partition size

807557Apr 28 2006
Hi,
I am running Sunos v5.9 and am trying to extend a soft partition from 30gb to 44gb. The slice of disk it is on does not appear to be mirrored and is labelled d2. I ran metattach d2 10g and this completed ok but when I ran the growfs, I got the above error. I have read countless reports of having to use the raw device name and I am doing so, but to no avail. I am running:-
growfs -M /u04 /dev/md/dsk/d2 and get:-
devinfo: /dev/md/dsk/d2: Inappropriate ioctl for device
growfs: cannot get partition size

Can anyone point out what I am doing wrong please?

regards

Carl

Info

/dev/md/dsk/d2 32G 30G 2.4G 93% /u04
metastat d2
d2: Soft Partition
Device: d0
State: Okay
Size: 92274688 blocks (44 GB)
Extent Start Block Block count
0 20987842 20971520
1 182468555 6291456
2 192954317 41943040
3 239091684 23068672

Device Relocation Information:
Device Reloc Device ID
c6t40d0 Yes id1,ssd@w600c0ff00000000007ea4a22e5b3f300
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 26 2006
Added on Apr 28 2006
0 comments
247 views