You are not logged in.

#1 2009-08-23 11:27:26

kriz
Member
Registered: 2009-06-29
Posts: 96

ext4 partition fails to mount with fstab

hello everyone
i've recently reinstalled arch (btw i've finally thrown away my never used winxp from hdd smile ) and formatted my root and home partition with ext4. root partition mounts fine, but my home partition (/dev/sda6) won't. only possible way to mount the fs is to mount it ro, then remount rw, thus i created this inelegant - hopefully temporary - solution.

/etc/rc.local

mount /dev/sda6 /home -o ro
mount /dev/sda6 -o remount,rw

/etc/fstab

# 
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0

#/dev/cdrom             /media/cd   auto    ro,user,noauto,unhide   0      0
#/dev/dvd               /media/dvd  auto    ro,user,noauto,unhide   0      0
#/dev/fd0               /media/fl   auto    user,noauto             0      0

/dev/sda2              /             ext4      defaults,noatime        0      1
/dev/sda1              /boot             ext2      defaults,noatime        0      2
/dev/sda3              /var             reiserfs      defaults,noatime        0      2
tmpfs                  /var/lock          tmpfs     defaults,noatime            0      0
tmpfs                  /tmp          tmpfs     defaults,noatime            0      0
/dev/sda6              /home         ext4      defaults,noatime        0      2
/dev/sda5              swap          swap      defaults                0      0
none /proc/bus/usb usbfs auto,busgid=108,busmode=0775,devgid=108,devmode=0664 0 0

dmesg output related to prob

[    6.223591] EXT4-fs: sda6: Filesystem with huge files cannot be mounted read-write without CONFIG_LBD.

kernel config

CONFIG_EXT4_FS=y
# CONFIG_EXT4DEV_COMPAT is not set
CONFIG_EXT4_FS_XATTR=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
# CONFIG_LBD is not set

seems i have to recompile the kernel...

Last edited by kriz (2009-08-23 11:30:36)


„Je verdinglichter die Welt, je dichter das Netz, das der Natur überworfen wurde, desto mehr beansprucht ideologisch das Denken, das jenes Netz spinnt, seinerseits Natur, Urerfahrung zu sein." Theodor W. Adorno [aus: Wozu noch Philosopie]

Offline

#2 2009-08-23 15:31:17

Neo_The_User
Member
From: The Matrix
Registered: 2009-03-30
Posts: 96
Website

Re: ext4 partition fails to mount with fstab

Don't know the answer but I am amazed by your very well done partitioning setup! a mix of ext4, reiserfs... smile

Best of luck!


AMD Phenom II X4 955 with Optimized Kernel
5 GB DDR2 RAM
320 GB SATA Hard Drive + 160 GB SATA Hard Drive
ATi RadeonHD 5830 GIGABYTE

Offline

#3 2009-08-23 17:33:29

kriz
Member
Registered: 2009-06-29
Posts: 96

Re: ext4 partition fails to mount with fstab

@Neo_The_User: thx smile

solved my prob by recompiling my kernel with the additional option

CONFIG_LBD=y

This option adds Support for Large Block Devices

Enable block devices of size 2TB and larger.

This option is required to support the full capacity of large (2TB+) block devices, including RAID, disk, Network Block Device, Logical Volume Manager (LVM) and loopback.

For example, RAID devices are frequently bigger than the capacity of the largest individual hard drive.

This option is not required if you have individual disk drives which total 2TB+ and you are not aggregating the capacity into a large block device (e.g. using RAID or LVM).

If unsure, say N.

btw. my home partition is "only" 100GB big


„Je verdinglichter die Welt, je dichter das Netz, das der Natur überworfen wurde, desto mehr beansprucht ideologisch das Denken, das jenes Netz spinnt, seinerseits Natur, Urerfahrung zu sein." Theodor W. Adorno [aus: Wozu noch Philosopie]

Offline

#4 2009-08-23 23:10:17

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: ext4 partition fails to mount with fstab

It should work with a 100GB partition then .... 100GB is a "bit" less than 2TB+ (the largest disks on sale now are just getting to 2TB too), ext4 is still relatively young .... I've been using it without problems but only in a 320GB disk with a few ext3 partitions and some (less important) ext4 partitions, the largest one is 91GB and it is using ext4 .... maybe you have stumbled into some bug ....


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB