You are not logged in.

#1 2012-03-29 20:47:02

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

btrfsck usage question

Just converted a root partition in a vbox to play with btrfs.  I enabled [testing] and am using the "stable" release of btrfs-progs.  I do have /usr/bin/btrfsck but one thing that confuses me is why the following doesn't trigger a check on the next reboot:

# shutdown -rF now

EDIT:  Just realized the following happened so the next question is why am I missing fsck.btrfs.

$ sudo mkinitcpio -p linux
==> Building image from preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.3.0-1-ARCH
  -> Parsing hook: [base]
  -> Parsing hook: [udev]
  -> Parsing hook: [autodetect]
  -> Parsing hook: [pata]
  -> Parsing hook: [scsi]
  -> Parsing hook: [sata]
  -> Parsing hook: [filesystems]
  -> Parsing hook: [usbinput]
  -> Parsing hook: [fsck]
==> ERROR: file not found: `fsck.btrfs'
==> WARNING: No fsck helpers found. fsck will not be run on boot.
==> Generating module dependencies
==> Creating lzop initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 3.3.0-1-ARCH
  -> Parsing hook: [base]
  -> Parsing hook: [udev]
  -> Parsing hook: [pata]
  -> Parsing hook: [scsi]
  -> Parsing hook: [sata]
  -> Parsing hook: [filesystems]
  -> Parsing hook: [usbinput]
  -> Parsing hook: [fsck]
==> Generating module dependencies
==> Creating lzop initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful

EDIT2: Fuck it, opened up a bug report.

Last edited by graysky (2012-03-29 20:57:52)

Offline

Board footer

Powered by FluxBB