User Tools

Site Tools


btrfs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
btrfs [2022/05/16 19:53]
65.108.0.71 old revision restored (2022/02/22 14:29)
btrfs [2022/05/16 19:54] (current)
65.108.0.71 old revision restored (2022/02/23 14:49)
Line 2: Line 2:
  
 [[https://www.cyberciti.biz/faq/linux-btrfs-fstab-entry-to-mount-filesystem-at-startup/]] [[https://www.cyberciti.biz/faq/linux-btrfs-fstab-entry-to-mount-filesystem-at-startup/]]
 +
 +How to balance a btrfs (when running out of free space even when there is really free space)
 +
 +https://ohthehugemanatee.org/blog/2019/02/11/btrfs-out-of-space-emergency-response/
 +
 +===== finding out resume offset for swap hibernation in 32bit machine (i386) =====
 +
 +The code "btrfs_map_physical.c" for finding out the swap file offset for hibernation resume doesn't work on 32bits. 
 +
 +Change:
 +
 +  fd = open(argv[optind], O_RDONLY);
 +
 +For:
 +
 + fd = open(argv[optind], O_RDONLY |O_LARGEFILE );
 +
 +and compile using the following command line:
 +
 +  gcc -O2 -o btrfs_map_physical -D_FILE_OFFSET_BITS=64 btrfs_map_physical.c
 +
 +
  
  
btrfs.txt ยท Last modified: 2022/05/16 19:54 by 65.108.0.71