/bckupdrv how big?

Chris Aitken caitken-Bm8TULXj0r/3fQ9qLvQP4Q at public.gmane.org
Tue Mar 14 03:49:02 UTC 2006


Tim Writer wrote:

>caitken-Bm8TULXj0r/3fQ9qLvQP4Q at public.gmane.org writes:
>
>  
>
>>caitken-Bm8TULXj0r/3fQ9qLvQP4Q at public.gmane.org writes: <snip>
>>
>>    
>>
>>>I thought I was okay with this but I'm not. I'm only able to save under 1
>>>Gb on this supposedly 6.5 GB dard drive. I'm getting different information
>>>from fdisk, hardware browser, df, and Nautilus. 
>>>      
>>>
>>[root at a800 pauline]# df /bckupdrv
>>Filesystem           1K-blocks      Used Available Use% Mounted on
>>/dev/hdb1              1004024   1004024         0 100% /bckupdrv Hardware
>>Browser:
>>
>>5722 MB Nautilus:
>>
>>Name: bckupdrv
>>Type: folder
>>Contents: 1120 items, totalling 959.2 MB
>>Location: /
>>Volume: 6.0G Media
>>Free bytes: 0 space fdisk:
>>
>>[root at a800 pauline]# /sbin/fdisk -l /dev/hdb Disk /dev/hdb: 6488 MB,
>>6488294400 bytes
>>
>>118 heads, 58 sectors/track, 1851 cylinders
>>Units = cylinders of 6844 * 512 = 3504128 bytes How can I make this partition
>>so that I can use the whole 6 GB? Chris <snip>
>>    
>>
>
>Are you sure about the output? This looks like the disk isn't partitioned,
>although that contradicts the df output above.
>  
>
I know.

>To try and solve it:
>  
>
I'm flattered you think I can handle this.

>    o   Unmount it
>  
>
Okay:
[root at a800 pauline]# umount /dev/hdb1

>    o   Clear the partition table
>
>        # dd if=/dev/zero of=/dev/hdb count=1
>  
>
[root at a800 pauline]# dd if=/dev/zero of=/dev/hdb count=1
1+0 records in
1+0 records out

>    o   Install sfdisk
>  
>
Looks like I have it:
[root at a800 pauline]# /sbin/sfdisk
sfdisk version 3.08 (aeb-rh8NL+sEX9E at public.gmane.org, 040824) from util-linux-2.12p
Usage: sfdisk [options] device ...

>    o   Put this in a script and execute it (the script)
>  
>
Do I make a file in vi then put a ./ infront of it from the directory 
it's in? Is that how to "execute" it?

Chris

<snip>
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list