[Sussex] partitions and the like ??

John D. big-john at dsl.pipex.com
Sat Jan 1 21:51:04 UTC 2005


On Sat, 2005-01-01 at 19:30 +0000, Steve Dobson wrote:
<snip>
> # cd /home
> # tar cvfz /home-backup.tar.gz .
>                                ^ Note the dot, it's important
> # cd 
> # umount /home
> # cfdisk
>      Selecte hda6 
>      [ Delete ]
>      [ New ]
>          Type:      Logical   (it may not ask this as you already have three
>                                primary partitions and the fourth is assigned
>                                to the area holding the logical partitions)
>          Size:      35000     (Or whatever size you want)
>          Placement: Beginning 
>      { Down Arrow; to select Free Space }
>      [ New ]
>          Type:      Logical
>          Size:      The rest of the disk
>      [ Write ]
> # mkfs -t reiserfs    /dev/hda6  

Things seemed to be going well up to this point.


But when I tried this
> # mkfs -t msdos -F 32 /dev/hda7   
It told me " no such file or directory" (twice actually) so I just
continued on in the vain hope that it would just leave the device and
space at the end of the drive.

> # mount /home
> # cd /home
> # tar xcfz /home-backup.tar.gz   (no dot need this time)

at this point, it didn't like "xcfz" it replied something about only a
certain number of actruxz (and a few others) switch(es) so I tried the
one that I've used in the past when untarring stuff xvzf, which seemed
to work (well it appears to have as I'm typing this from my /home at the
moment).


I didn't do this bit because as I mentioned above it didn't want to make
an msdos file system with the mkfs -t msdos /dev/hda7 command.
> # mkdir -p /mnt/msdos
> # mount /dev/hda7 /mnt/msdos

So I'm now just a little confused as to what's actually gone on, because
if I do this

bash-2.05b# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda5             20482184   6781744  13700440  34% /
/dev/hda6             73567348   1421628  72145720   2% /home
none                    387416         0    387416   0% /dev/shm
bash-2.05b#

Theres no sign of the /dev/hda7, so what that silly little bit of space
that's down as "none" 387416 etc etc.

Plus, if I then do cfdisk, I get this

cfdisk 2.12i

                              Disk Drive: /dev/hda
                       Size: 120000000000 bytes, 120.0 GB
             Heads: 255   Sectors per Track: 63   Cylinders: 14589

    Name        Flags      Part Type  FS Type          [Label]
Size (MB)

------------------------------------------------------------------------------
    hda1        Boot        Primary   NTFS             [^B]
21056.72
    hda2                    Primary   Linux ext3
1052.84
    hda3                    Primary   Linux swap / Solaris
1579.26
    hda5                    Logical   Linux ReiserFS
20974.47
    hda6                    Logical   Linux ReiserFS
75335.34

And as you can see, the /home bit (/dev/hda6) seems to have filled up
the entire space again (well that's how it looks to me anyway)?

so at the moment I'm a little "befuddled"!

As usual any further advice/instruction much appreciated

regards

John D.

p.s. Whats the difference between msdos and vfat/fat ??? would that be
anything to do with why it didn't seem to like the mkfs -t msdos bit ???
-- 





More information about the Sussex mailing list