mount ext2fs - geom_label
Ivan Voras
ivoras at freebsd.org
Mon Jul 7 12:13:00 UTC 2008
William Grzybowski wrote:
> Hi!
>
> I'm running -CURRENT from 4 July.
> I can mount my ext3 partition without any errors but I can't access it:
>
> # mount -t ext2fs /dev/ad0s1 /media/
> # cd /media
> cd: not a directory: /media
> # ls /media
> ls: /media: Bad file descriptor
>
> I enabled debug flags for geom:
> kern.geom.label.debug=1
> kern.geom.debugflags=1
>
> And i get this from dmesg:
>
> g_post_event_x(0xc05d11f0, 0xc3f6a180, 2, 0)
> ref 0xc3f6a180
> GEOM_LABEL[0]: Label ext2fs// removed.
> g_slice_spoiled(0xc42c3dc0/ad0s1)
> g_wither_geom(0xc45c8000(ad0s1))
> g_orphan_provider(0xc45c7e80(ext2fs//), 6)
> g_orphan_register(ext2fs//)
> g_dev_orphan(0xc5d82540(ext2fs//))
> g_detach(0xc5d82540)
> g_destroy_consumer(0xc5d82540)
> g_destroy_geom(0xc463d180(ext2fs//))
> g_detach(0xc42c3dc0)
> g_destroy_consumer(0xc42c3dc0)
> g_destroy_geom(0xc45c8000(ad0s1))
> g_wither_geom_close(0xc461eb80(ext2fs.ad0s1))
> g_post_event_x(0xc05d1580, 0xc3f6a180, 2, 0)
> ref 0xc3f6a180
> g_wither_geom(0xc461eb80(ext2fs.ad0s1))
> g_label_taste(LABEL, ad0s1)
> GEOM_LABEL[1]: MSDOSFS: ad0s1: no FAT signature found.
> GEOM_LABEL[1]: ext2fs file system detected on ad0s1.
> g_slice_config(ad0s1, 0, 1)
> g_post_event_x(0xc05d1580, 0xc45c8480, 2, 0)
> ref 0xc45c8480
> ref 0xc45c8680
> GEOM_LABEL[0]: Label for provider ad0s1 is ext2fs//.
This only means that GEOM_LABEL detected an ext2fs-compatible file
system with an empty label (or the label might be "/"?). I don't know if
this particular thing would cause your error, but you might want to try
and change the label on the ext2/3 file system to something using only
alphanumeric characters (I think tune2fs -L can do that).
> I'm not sure if this slice was mounting fine over an older build but for sure it is ext3.
> Another partition with ext3 is (at least was) working.
>
> Am I missing something? Is that some kind of bug? Should i file it?
> Thanks.
If it turns out that geom_label is causing your problem, then yes, you
should file it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20080707/846288bc/signature.pgp
More information about the freebsd-current
mailing list