HDD Space

Robert Meyer meyer_rm at yahoo.com
Mon Dec 29 11:34:04 EST 2003


Well, you want to 'fdisk /dev/hdb', not /dev/hdb1.  You are only seeing the
first partition on the drive.  If you use /dev/hdb, you'll be able to delete
the partitions and start over with the whole drive.

Cheers!

Bob
--- "Riga, Anthony" <Anthony.Riga at searbrown.com> wrote:
> I added a new hdd to my Redhat Oracle test box running 9.0. Its just an extra
> 4.5gb hdd for space. I mounted the drive no problem. When I do a df -h and
> view the size of the drive it says 
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/hda2             8.6G  7.6G  584M  93% /
> /dev/hda1              99M  9.0M   85M  10% /boot
> none                  153M     0  153M   0% /dev/shm
> /dev/hdb1              99M   38M   57M  40% /mnt/drive2
> 
> I did a fdisk -l /dev/hdb1 and get:
>  Disk /dev/hdb1: 106 MB, 106896384 bytes
> 255 heads, 63 sectors/track, 12 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>  
> Disk /dev/hdb1 doesn't contain a valid partition table
> 
> I cant figure out why the hdd space is so low and it says Disk /dev/hdb1
> doesn't contain a valid partition table Do I need to reformat the hdd again?
> My /etc/fstab file is: 
> 
> LABEL=/                 /                       ext3    defaults        1 1
> LABEL=/boot             /boot                   ext3    defaults        1 2
> none                    /dev/pts                devpts  gid=5,mode=620  0 0
> none                    /proc                   proc    defaults        0 0
> none                    /dev/shm                tmpfs   defaults        0 0
> /dev/hda3               swap                    swap    defaults        0 0
> /dev/hdb1               /mnt/drive2             ext3    defaults        2 1
> /dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0
> 0
>  Any help would be appreciated thanks! 
> 
> 


__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/



More information about the nflug mailing list