Gentoo Archives: gentoo-user

From: Stroller <stroller@××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Extended file attributes: ext4
Date: Tue, 10 Apr 2012 11:02:38
Message-Id: ECBB51E5-0CEE-49EE-9D05-7EC1362CD4DF@stellar.eclipse.co.uk
In Reply to: Re: [gentoo-user] Extended file attributes: ext4 by "Canek Peláez Valdés"
1 On 9 April 2012, at 13:04, Canek Peláez Valdés wrote:
2 >>> …
3 >>> This means ext4 mandatory if you want to use it, and this (usually)
4 >>> means GRUB2, which is still considered beta.
5 >>
6 > …
7 > Interesting. Do you have extents enabled in the filesystem? Mine does:
8 >
9 > # tune2fs -l /dev/sda4 | grep features
10 > Filesystem features: has_journal ext_attr resize_inode dir_index
11 > filetype needs_recovery extent sparse_super large_file uninit_bg
12
13 # df -Th
14 Filesystem Type Size Used Avail Use% Mounted on
15 rootfs rootfs 228G 5.8G 211G 3% /
16 /dev/root ext4 228G 5.8G 211G 3% /
17 devtmpfs devtmpfs 875M 212K 875M 1% /dev
18 rc-svcdir tmpfs 1.0M 60K 964K 6% /lib64/rc/init.d
19 cgroup_root tmpfs 10M 0 10M 0% /sys/fs/cgroup
20 shm tmpfs 876M 0 876M 0% /dev/shm
21 # tune2fs -l /dev/root | grep extent
22 Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink
23
24 > I was under the impression that GRUB legacy could not read ext4
25 > filesystems with extents enabled; that was the primary reason I
26 > migrated to GRUB2. I believe there is a patch for GRUB legacy which
27 > adds ext4+extents support, but I don't think Gentoo applies it.
28
29 No idea where it comes from, but you can see for yourself now you know to look.
30
31 Stroller.

Replies

Subject Author
Re: [gentoo-user] Extended file attributes: ext4 "Canek Peláez Valdés" <caneko@×××××.com>