[Re: drives]
Marcel Kunath
kunathma@pilot.msu.edu
Fri, 14 Sep 2001 23:03:08 -0400 (EDT)
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?
mk
> > "Marcel
Kunath" <kunathma@pilot.msu.edu> wrote: >
> [trying to mkreiserfs on an unpartitioned /dev/hdb]
> > Well this works for ext2 but I can't do it with reiserfs. mkreiserfs
> > still errors on the device.
>
> Which version of mkreiserfs are you using? At which point does it fail?
> mkreiserfs has a fair number of printf() calls in it, which could help.
> It may not handle an entire disk correctly, or you may need to pass it the
> (usually optional) block-count parameter (blocks = disk's capacity in K /
> 4), or you may have found a bug in mkreiserfs.
>
> As I see it, you have 2 options:
>
> A) Make one big partition covering the entire disk, mkreiserfs the
> partition and have things working quickly. Trouble is, you'll be ignorant
> of what's really going on here.
>
> B) Find out what's really going on here and try to fix it. This may
> involve more work than you'd like, and digging around in reiserfs-utils
> code and/or stracing will be required. OTOH, submitting a patch and
> having it accepted by the reiserfs team would be nifty.
>
>
> --
> Matt G / Dances With Crows
> There is no Darkness in Eternity/But only Light too dim for us to see
> "I backed up my brain to tape, but tar says the tape contains no data...."
> _______________________________________________
> linux-user mailing list
> linux-user@egr.msu.edu
> http://www.egr.msu.edu/mailman/listinfo/linux-user
>
--
Marcel Kunath
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Montie House Network Greater Lansing Linux Users Group
http://www.montiehouse.com http://www.gllug.org
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*