pastebin - collaborative debugging tool
rovema.kpaste.net RSS

Difference between
modified post 09dad by Anonymous on Tue 19th Dec 2023 11:12
original post 3d4a83d9e by Anonymous on Tue 19th Dec 2023 11:06
Download diff
Show old version | new version | both versions

    
11
# ext4 filesystem being mounted at /root supports timestamps until 2038-01-19 (0x7fffffff)
22
33
# tune2fs does not work:
44
root@EPU-102054501-AugustToepfer:/# tune2fs -I 256 /dev/sda2
55
tune2fs 1.42.12 (29-Aug-2014)
66
Changing the inode size not supported for filesystems with the flex_bg
77
feature enabled.
88
root@EPU-102054501-AugustToepfer:/# tune2fs -O ^flex_bg /dev/sda2
99
tune2fs 1.42.12 (29-Aug-2014)
1010
Clearing the flex_bg flag would cause the the filesystem to be
1111
inconsistent.
1212
1313
# switching to btrfs does not work:
1414
root@EPU-102054501-AugustToepfer:~# btrfs-convert /dev/sda2
1515
ERROR: block size is too small: 1024 < 4096
1616
WARNING: an error occurred during conversion, filesystem is partially created but not finalized and not mountable
1717
root@EPU-102054501-AugustToepfer:~# fsck.ext4 /dev/sda2
1818
e2fsck 1.42.12 (29-Aug-2014)
1919
20-
20+
# fix:
21-
21+
(cd / && tar -cf - root | bzip2 >root_backup.tar.bz2)
22-
22+
umount /root
23-
23+
mkfs.btrfs --label roothome -f /dev/sda2
24-
24+
vi /etc/fstab # switch /root from "ext4" to "btrfs"
25-
25+
mount /root
26-
26+
(cd / && tar -xf root_backup.tar.bz2 )
27-
27+
ls -l /root
2828

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.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at