Milos Nikic <nikic.mi...@gmail.com> writes: > Hi Diego and Joshua > > @Joshua > Thanks! Great to hear you shrank /home successfully. > I got to say I never even tried on real hardware so thanks for trying! I also > never tried it on a separate mount :). Im curious > of the results you will have. > > The script should still work whether its the image or real hardware: > On real hardware one can use something like: > sudo ./contrib/journaling/journal-hint2.sh /dev/sdXY on > > A couple safety notes for running the hint script on real hardware: > - Please run it on the partition device (e.g., /dev/sdXY), not on the whole > disk. > - Do not write the hint while the filesystem is mounted read-write. ext2 > caches the superblock; writing it raw while mounted > can be lost or cause inconsistency. > > For /home (assuming it’s a separate ext2 partition): > 0) make a backup if you can > 1) unmount /home (close apps first) > sudo umount /home
This worked just fine. `mount` showed that only / was mounted. > 2) ensure clean state > sudo e2fsck -f /dev/sdXY This also worked just fine. > 3) write the journaling hint (device instead of .img) > sudo ./contrib/journaling/journal-hint2.sh /dev/sdXY on cat /etc/fstab # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> /dev/hd0s1 / ext2 defaults 0 1 /dev/hd0s6 /home ext2 defaults 0 2 /dev/hd0s5 none swap sw 0 0 # /dev/hd2 /media/cdrom0 iso9660 noauto 0 0 # /dev/fd0 /media/floppy0 auto rw,noauto 0 0 # ./contrib/journaling/journal-hint2.sh /dev/sd0s6 on This is where I got stuck. When I ran the above command, I got this error message: [ERROR] could not find partition 2 in fdisk output What did I do wrong? -- Joshua Branson Sent from the Hurd