- # ext4 filesystem being mounted at /root supports timestamps until 2038-01-19 (0x7fffffff)
- # tune2fs does not work:
- root@EPU-102054501-AugustToepfer:/# tune2fs -I 256 /dev/sda2
- tune2fs 1.42.12 (29-Aug-2014)
- Changing the inode size not supported for filesystems with the flex_bg
- feature enabled.
- root@EPU-102054501-AugustToepfer:/# tune2fs -O ^flex_bg /dev/sda2
- tune2fs 1.42.12 (29-Aug-2014)
- Clearing the flex_bg flag would cause the the filesystem to be
- inconsistent.
- # switching to btrfs does not work:
- root@EPU-102054501-AugustToepfer:~# btrfs-convert /dev/sda2
- ERROR: block size is too small: 1024 < 4096
- WARNING: an error occurred during conversion, filesystem is partially created but not finalized and not mountable
- root@EPU-102054501-AugustToepfer:~# fsck.ext4 /dev/sda2
- e2fsck 1.42.12 (29-Aug-2014)
- # fix:
- (cd / && tar -cf - root | bzip2 >root_backup.tar.bz2)
- umount /root
- mkfs.btrfs --label roothome -f /dev/sda2
- vi /etc/fstab # switch /root from "ext4" to "btrfs"
- mount /root
- (cd / && tar -xf root_backup.tar.bz2 )
- ls -l /root
ext4 filesystem being mounted at /root supports timestamps until 2038-01-19 (0x7fffffff)
Posted by Anonymous on Tue 19th Dec 2023 11:12
raw | new post
modification of post by Anonymous (view diff)
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.