[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mkreiserfs produces 'not formatted' error



I've set up a few reiser filesystems now and not had any problems. However, I 
have one drive that is producing the following error message:

	mkreiserfs: Disk was not formatted

The disk was previously a windows 98 disk. 25MB. IBM. I've run cfdisk and 
reinitialized the disk and this hasn't cured it. I even booted into windows 
98 and ran partition magic, formated /dev/hdb1 as ext2 (which took AGES) and 
rebooted back to linux. Have I hit unlucky with this drive? Here's a 
transcript of a typical attempt:

Script started on Tue Jan 15 20:57:08 2002
root@guestw: /rootroot@guestw:~# 
root@guestw: /rootroot@guestw:~# fdisk -l /dev/hdb

Disk /dev/hdb: 255 heads, 63 sectors, 3111 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdb1             1      3111  24989076   83  Linux

root@guestw: /rootroot@guestw:~# dmesg | grep hdb

    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA
hdb: IBM-DJNA-352500, ATA DISK drive
hdb: 49981680 sectors (25591 MB) w/1966KiB Cache, CHS=3111/255/63, UDMA(33)
 hdb: hdb1
root@guestw: /rootroot@guestw:~# 
root@guestw: /rootroot@guestw:~# df -hT
Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/hda7     ext2     10G  2.4G  7.4G  24% /
/dev/hda6     ext2    5.5G  784M  4.4G  15% /potato
/dev/hda1     vfat    7.4G  838M  6.6G  11% /98/c
/dev/hdc1 reiserfs     29G   25G  3.8G  87% /mp3
/dev/hdd1 reiserfs     56G   33M   55G   1% /backups

guestw:~# mkreiserfs -v 2 /dev/hdb1

<-------------mkreiserfs, 2001------------->
reiserfsprogs 3.x.0j

===================================================================
LEAF NODE (8211) contains level=1, nr_items=2, free_space=3932 rdkey
-------------------------------------------------------------------------------
|###|type|ilen|f/sp| loc|fmt|fsck|                   key                      
|
|   |    |    |e/cn|    |   |need|                                            
|
-------------------------------------------------------------------------------
|  0|1 2 0x0 SD, len 44, entry count 0, fsck need 0, format new|
(NEW SD), mode drwxr-xr-x, size 48, nlink 2, mtime 01/15/2002 20:58:35 blocks 
8
-------------------------------------------------------------------------------
|  1|1 2 0x1 DIR, len 48, entry count 2, fsck need 0, format old|
###: Name                     length    Object key           Hash     Gen 
number
  0: ".                        "(  1)                 1 2           0    1, 
loc 40, state 4 ??
  1: "..                       "(  2)                 0 1           0    2, 
loc 32, state 4 ??
===================================================================
Creating reiserfs of 3.6 format
Block size 4096 bytes
Block count 6247269
Used blocks 8402
Free blocks count 6238867
First 16 blocks skipped
Super block is in 16
Bitmap blocks (191) are : 
	17, 32768, 65536, 98304, 131072, 163840, 196608, 229376, 262144, 294912, 
327680, 360448, 393216, 425984, 458752, 491520, 524288, 557056, 589824, 
622592, 655360, 688128, 720896, 753664, 786432, 819200, 851968, 884736, 
917504, 950272, 983040, 1015808, 1048576, 1081344, 1114112, 1146880, 1179648, 
1212416, 1245184, 1277952, 1310720, 1343488, 1376256, 1409024, 1441792, 
1474560, 1507328, 1540096, 1572864, 1605632, 1638400, 1671168, 1703936, 
1736704, 1769472, 1802240, 1835008, 1867776, 1900544, 1933312, 1966080, 
1998848, 2031616, 2064384, 2097152, 2129920, 2162688, 2195456, 2228224, 
2260992, 2293760, 2326528, 2359296, 2392064, 2424832, 2457600, 2490368, 
2523136, 2555904, 2588672, 2621440, 2654208, 2686976, 2719744, 2752512, 
2785280, 2818048, 2850816, 2883584, 2916352, 2949120, 2981888, 3014656, 
3047424, 3080192, 3112960, 3145728, 3178496, 3211264, 3244032, 3276800, 
3309568, 3342336, 3375104, 3407872, 3440640, 3473408, 3506176, 3538944, 
3571712, 3604480, 3637248, 3670016, 3702784, 3735552, 3768320, 3801088, 
3833856, 3866624, 3899392, 3932160, 3964928, 3997696, 4030464, 4063232, 
4096000, 4128768, 4161536, 4194304, 4227072, 4259840, 4292608, 4325376, 
4358144, 4390912, 4423680, 4456448, 4489216, 4521984, 4554752, 4587520, 
4620288, 4653056, 4685824, 4718592, 4751360, 4784128, 4816896, 4849664, 
4882432, 4915200, 4947968, 4980736, 5013504, 5046272, 5079040, 5111808, 
5144576, 5177344, 5210112, 5242880, 5275648, 5308416, 5341184, 5373952, 
5406720, 5439488, 5472256, 5505024, 5537792, 5570560, 5603328, 5636096, 
5668864, 5701632, 5734400, 5767168, 5799936, 5832704, 5865472, 5898240, 
5931008, 5963776, 5996544, 6029312, 6062080, 6094848, 6127616, 6160384, 
6193152, 6225920
Journal size 8192 (blocks 18-8210 of file /dev/hdb1)
Root block 8211
Hash function "r5"
ATTENTION: YOU SHOULD REBOOT AFTER FDISK!
(y/n)	    ALL DATA WILL BE LOST ON '/dev/hdb1'! yes

mkreiserfs: Disk was not formatted



Script done on Tue Jan 15 20:58:41 2002



Reply to: