Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems creating and mounting a reiserfs partition
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
dob
Apprentice
Apprentice


Joined: 04 Oct 2002
Posts: 199
Location: S.L.P.

PostPosted: Fri Mar 21, 2003 12:08 pm    Post subject: Problems creating and mounting a reiserfs partition Reply with quote

I always used ext2/3 so far, but I wanted to try out reiserfs since some say it is better / faster

Here's how my HD is partitioned. Planned reiserfs partition is /dev/hda6
Code:
                                        cfdisk 2.11z

                                    Disk Drive: /dev/hda
                              Size: 80026361856 bytes, 80.0 GB
                    Heads: 255   Sectors per Track: 63   Cylinders: 9729

    Name          Flags        Part Type   FS Type             [Label]          Size (MB)
 ------------------------------------------------------------------------------------------
    hda1          Boot          Primary    Win95 FAT32                            4721,32
    hda5                        Logical    Win95 FAT32 (LBA)                     65514,36
    hda6                        Logical    Linux                                  5116,13
    hda7                        Logical    Linux ext3                             4671,96


After I wrote the partition table with cfdisk, and rebooted like mkreiserfs suggests, I tried to format /dev/hda6 to reiserfs
Code:
bruce-lee mnt # mkreiserfs /dev/hda6

<-------------mkreiserfs, 2002------------->
reiserfsprogs 3.6.4

mkreiserfs: Guessing about desired format..
mkreiserfs: Kernel 2.4.19-fl-2 is running.
Format 3.6 with standard journal
Count of blocks on the device: 1249045
Number of blocks consumed by mkreiserfs formatting process: 8250
Blocksize: 4096
Hash function used to sort names: "r5"
Journal Size 8193 blocks (first block 18)
Journal Max transaction length 1024
inode generation number: 0
UUID: b7b6b74e-8bad-426d-9318-fee144e72b82
ATTENTION: YOU SHOULD REBOOT AFTER FDISK!
        ALL DATA WILL BE LOST ON '/dev/hda6'!
Continue (y/n):Y
bruce-lee mnt #


But when I try to mount it...

Code:
bruce-lee mnt # mount /dev/hda6 /mnt/debian/ -t reiserfs
mount: wrong fs type, bad option, bad superblock on /dev/hda6,
       or too many mounted file systems

Code:

lsmod | grep reiserfs ; emerge -s reiserfs
reiserfs              176848   1  (autoclean)
Searching...
[ Results for search key : reiserfs ]
[ Applications found : 2 ]

*  dev-libs/progsreiserfs
      Latest version available: 0.3.0.4
      Latest version installed: 0.3.0.4
      Size of downloaded files: 301 kB
      Homepage:    http://reiserfs.linux.kiev.ua/
      Description: A library for accessing and manipulating reiserfs partitions

*  sys-apps/reiserfsprogs
      Latest version available: 3.6.4-r1
      Latest version installed: 3.6.4-r1
      Size of downloaded files: 324 kB
      Homepage:    http://www.namesys.com
      Description: Reiserfs Utilities


Ideas? :cry:
Back to top
View user's profile Send private message
vikwiz
n00b
n00b


Joined: 01 Mar 2003
Posts: 50
Location: Budapest

PostPosted: Fri Mar 21, 2003 3:44 pm    Post subject: Re: Problems creating and mounting a reiserfs partition Reply with quote

dob wrote:
After I wrote the partition table with cfdisk, and rebooted like mkreiserfs suggests, I tried to format /dev/hda6 to reiserfs
Code:
...
ATTENTION: YOU SHOULD REBOOT AFTER FDISK!
ALL DATA WILL BE LOST ON '/dev/hda6'!
Continue (y/n):Y
bruce-lee mnt #




There should be some more prints after pressing 'yes', as far as I remember.
Sounds stupid, but don't you have CapsLock pressed? :)
Seems you have pressed capital 'Y', which maybe wrong...
Back to top
View user's profile Send private message
dob
Apprentice
Apprentice


Joined: 04 Oct 2002
Posts: 199
Location: S.L.P.

PostPosted: Fri Mar 21, 2003 6:55 pm    Post subject: Reply with quote

eeewwwwwwww

/me bangs his head on his desk

You were right it worked with a lowercase y :roll:
I took the habit of always responding with a capital Y or N when I'm asked this kind of questions, and I never expected my problem could come from that. I spent like two hours reading all the reiserfs documentation I could find and searching help in vain on google

Thanks vikwiz :wink:
Back to top
View user's profile Send private message
vikwiz
n00b
n00b


Joined: 01 Mar 2003
Posts: 50
Location: Budapest

PostPosted: Fri Mar 21, 2003 8:36 pm    Post subject: Rebooting Reply with quote

Yes, it happens sometimes...
Anyway, it's a good opportunity to patch mkreiserfs. ;)
It's definitely a bug, although not so big.

About rebooting: I never rebooted since years when fdisk tells I should, and it works without problems. SCSI or IDE, doesn't matter. But it's still telling I should. Others had any fault with this? I even repartitioned drives with mounted partitions on it, without any problems.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum