[Re: drives]

Marcel Kunath kunathma@pilot.msu.edu
Sat, 15 Sep 2001 00:19:04 -0400 (EDT)


>
> "Marcel Kunath" <kunathma@pilot.msu.edu> wrote:
> > Well mkreiserfs doesn't error but when I try to mount it it errors. But
> > only
> > when using reiser. It's this drive:
> > http://www.wdc.com/products/drives/wd450aa.html
> >
> > WDC uses the base 10 drive size:
> > http://www.wdc.com/products/drives/specs/wd450aas.html#physical
> >
> > Here is what the ext2 way says:
> >
> > mke2fs /dev/hdb
> > block size = 4096 (log 2)
> >
> > 5505024 inodes
> > 10991358 blocks
> > 549567 blocks reserved for super user
> >
> > 336 block groups
> > 32768 blocks per group
> >
> >
> > df after mounting:
> >
> > 1-kblocks   Used   Avail
> > 43274424    20     41076136
> >
> > Hm 336 * 32768 = 11010048 and not 10991358
> >
> > 45020 MB = 45020000000 bytes = 43 964 843.75 KB(log 2)
> >
> > KB/4 = blocks = 10 991 210.9375
> >
> > How many blocks should I specify? 11 010 048, 10 991 358, 10 991 210, or
> > 10 991 211?
>
> Hmmm.  So mkreiser works, but mount fails?  This is slightly weird.  I'm
> intrigued here, but atm I don't have a spare hard disk I can try out.  I
> tried this on the closest thing available, a spare ZIP disk, doing
> "mkreiserfs /dev/sda" and "mount -v /dev/sda /mnt/other" and that worked
> just fine, if slowly.
>
> I would definitely use the -v option to mount.  If you do try the
> block-count option, the lowest number is definitely the way to go.  Better
> to sacrifice a tiny bit of space than to lose randomly by assuming there's
> more space than there really is.
>
> What else... hmm, the latest reiserfs-utils have a warning message in
> mkreiserfs about "Attention:  This is an entire device, not a partition!
> Continue?(y/n)"  Again, which versions of the relevant utilities are you
> using?  Which kernel are you using?  This could get murky....

It is 3.x.0j and yes it gives that message. suse kernel 2.4.7-4GB. mount -v has
it trying all file systems against the drive but failing to mount it.

I tried mkreiserfs block-count with all four numbers and each time it said bad
block count.

The thing is I used the same machine and setup to do it to another hd which
never had a partition table and it worked fine.

mk