Re: TRIM support with XFS
On Sun, Jun 30, 2013 at 1:47 AM, Stan Hoeppner <stan@hardwarefreak.com> wrote:
> Post the XFS mount entry(s) in dmesg and any errors.
[ 2.119489] SGI XFS with ACLs, security attributes, realtime, large
block/inode numbers, no debug enabled
[ 2.119716] SGI XFS Quota Management subsystem
[ 2.120753] XFS (sda2): Mounting Filesystem
[ 2.150708] XFS (sda2): Ending clean mount
> Paste the exact line from /etc/fstab.
UUID=xxxx-xxxx /boot/efi vfat
defaults 0 1
UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx / xfs
defaults,discard,noatime 0 1
UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx none swap sw
0 0
> I should have remembered this sooner. You're using initrd I assume
> since this is a stock install. The problem here is that the rootfs is
> being mounted via initrd. If you didn't rebuild it after adding discard
> to /etc/fstab, this explains your problem.
>
> Rebuilding initrd should fix it.
Apart from the change in default file system it's pretty much a stock
install. I've rebuilt the inird and rebooted the machine; but no
change in /proc/mounts.
root# update-initramfs -d -k all
update-initramfs: Deleting /boot/initrd.img-3.2.0-4-amd64
root# update-initramfs -c -k 3.2.0-4-amd64
update-initramfs: Generating /boot/initrd.img-3.2.0-4-amd64
John
Reply to: