Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52805 - mount -U fails for reiserfs partitions
Summary: mount -U fails for reiserfs partitions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-02 12:12 UTC by Tad Marko
Modified: 2005-02-13 19:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tad Marko 2004-06-02 12:12:47 UTC
Mounting an ext2 partition on a USB storage device with "mount -U [uuid]" with a UUID as reported by tune2fs works. Use reiserfstune to obtain the UUID for a reiserfs partion on a USB storage device and attempt to mount it with the same syntax fails every time.

Reproducible: Always
Steps to Reproduce:
1. Attach a USB storage device
2. fdisk to create a primary partition
3. mkreiserfs /dev/sda1
4. reiserfstune /dev/sda1
5. mkdir /mnt/sda1
6. mount -U [uuid as reported in #4] /mnt/sda1

Actual Results:  
mount reports an error "no such partition"

Expected Results:  
Mounted the matching partition on the USB storage device on /mnt/sda1.
Comment 1 SpanKY gentoo-dev 2004-10-09 23:08:25 UTC
neglected to provide `emerge info`

also, what version of reiserfsprogs ?
please try with 3.6.18
Comment 2 Tad Marko 2004-10-10 00:34:04 UTC
I was working with 3.6.17, but I added ~x86 to reiserfsprogs and re-emerged to get 3.6.17.  Short story: I still cannot mount by UUID.  mount -U (uuid as reported by reiserfstune) still results in "mount: no such partition found".
Comment 3 Tad Marko 2004-10-10 00:34:44 UTC
sorry...I reemerged to 3.6.18...but all results are as I reported above.
Comment 4 SpanKY gentoo-dev 2004-10-10 01:28:22 UTC
ok, here's a quick test case to reproduce this:

# dd if=/dev/zero of=blah count=100000
# mkreiserfs -q -f blah
# mkdir -p /mnt/temp
# mount -o loop blah /mnt/temp         # <- works just fine
# umount /mnt/temp
# reiserfstune blah | grep ^UUID
UUID: 2ddf8152-15be-437e-9992-913346c25acc
# mount -o loop -U 2ddf8152-15be-437e-9992-913346c25acc blah /mnt/temp
mount: no such partition found

so now the question is, where is the problem ?
i think the issue lies with util-linux/mount ... i have util-linux-2.12b over here ...
Comment 5 Tad Marko 2004-10-10 11:48:18 UTC
$ mount -V
mount: mount-2.12
Comment 6 Tad Marko 2004-10-10 11:49:10 UTC
Additionally:

$ qpkg -I -v util-linux
sys-apps/util-linux-2.12-r4 *
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-02-13 19:51:54 UTC
As of:
sys-fs/reiserfsprogs-3.6.19
sys-apps/util-linux-2.12p-r1

This seems to work now, so i'm closing this.

process used for testing:
1. cfdisk /dev/hdd
2. make partition
3. partprobe /dev/hdd (to rescan partition table for kernel)
4. mkreiserfs /dev/hdd1
5. reiserfstune /dev/hdd1
6. mkdir /tmp/reisermount
7. mount -U (UUID here) /tmp/reisermount
8. umount /tmp/reisermount
9. mount UUID=(UUID here) /tmp/reisermount
10. umount /tmp/reisermount