Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem finding unused space!

Status
Not open for further replies.

JazzGeek

IS-IT--Management
Jun 23, 2002
165
US
Hi All

I have a 36 GIG hard drive. However, only about 20 GIGS is partition with Solaris2.

I want to use the extra 16 gigs and create new ufs partition, but it appears Solaris 10 does not see there is 16 gigs of unpartitioned space.

I ran format>fdisk, etc, and it still could not see there was unused space on the disk.

How can I make my Solaris 10 see this unused/free space on the physical hard drive?

Thank you for your help.

SJ

Sebastian Jazzer
MCSE 4.0 & 2000, Network+, A+, Web Developer

 
Can you post a prtvtoc of the disk?

I want to be good, is that not enough?
 
Sure, here it is:


* /dev/rdsk/c0d0s0 partition map
*
* Dimensions:
* 512 bytes/sector
* 63 sectors/track
* 255 tracks/cylinder
* 16065 sectors/cylinder
* 2169 cylinders
* 2167 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* Unallocated space:
* First Sector Last
* Sector Count Sector
* 2104515 369495 2474009
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 2 00 14988645 19824210 34812854 /
1 3 01 48195 2056320 2104514
2 5 00 0 34812855 34812854
7 8 00 2474010 12514635 14988644 /export/home
8 1 01 0 16065 16064
9 9 01 16065 32130 48194


Sebastian Jazzer
MCSE 4.0 & 2000, Network+, A+, Web Developer

 
Well, if I may say so, "What a mess". From the 'prtvtoc' above, it looks like your '36 GIG hard drive' actually turns out to contain 17 gigs now that it is formatted. From the outside of the disk, working inwards, the disk layout is:

Partition Size (KBs) 1st Sector Mount Directory
8 8032 0
9 16065 16065
1 1028160 48195 (1 GB swap ?)
- (184748) 2104515 (unused space 180MB)
7 6257317 2474010 /export/home (6GB)
0 9912105 14988645 / (9.4GB)


I hope that helps.

Mike
 
Sorry, I guess you may have missed the question.

I know it only reads "17 gigs" and that is the problem. It's a 36 Hard drive.

I want to be able to format the remaining space, but I can't seem to FIND the remaining hard drive space.

Any idea how I can find the remain unused 19 gigs?

Thank you

SB

Sebastian Jazzer
MCSE 4.0 & 2000, Network+, A+, Web Developer

 
Can you give us the part number of the disk?

I want to be good, is that not enough?
 
I think there are 2 possibilies:
1) Although the part-no and case labels suggest a 36GB disk, there was a manufacturing malfunction and you were given an 18GB disk in a 36Gb case.
2) Someone decided to copy & write the VTOC from an 18GB disk to your 36GB disk.

I cannot think of a non-destructive way of sorting this out.

If you choose to do the following, please be careful.
WARNING: DO NOT DO THIS ON A 'LIVE' SYSTEM BOOTED FROM THIS DISK. (It will destroy the data on your disk)

You can destroy the VTOC and then run format to re-format your disk as follows:
# dd if=/dev/zero of=/dev/rdsk/c?t?d?s0 bs=512 count=1
# format

Choose the partition sizes you require


I hope that helps.

Mike
 
how does this disk appear in OBP's 'probe-scsi-all'?

Best Regards, Franz
--
System Manager (Solaris, HP-UX, Linux, some networking, some SAN)
 
I don't have OBP as this is an x86 system. Also, my disks are IDE.

Thank anyway though

Sebastian Jazzer
MCSE 4.0 & 2000, Network+, A+, Web Developer

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top