Package: xfsprogs
Version: 3.1.9
Severity: minor
Tags: patch
Dear Maintainer,
If your rootfs is XFS (I hope it is :) ), you should include some XFS tools into initrd.
It would be handy in emergency situation. E.g. will help you to boot your domU.
Log from the Xen console:
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[ ok ] Starting the hotplug events dispatcher: udevd.
[ ok ] Synthesizing the initial hotplug events...done.
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Activating swap...done.
[....] Checking root file system...fsck from util-linux 2.20.1
fsck: fsck.xfs: not found
fsck: error 2 while executing fsck.xfs for /dev/xvda2
fsck died with exit status 8
failed (code 8).
[....] An automatic file system check (fsck) of the root filesystem failed. A manual fsck must be performed, then the system restarted. The fsck should be performed in maintenance mo[FAILth the root filesystem mounted in read-only mode. ... failed!
[....] The root filesystem is currently mounted in read-only mode. A maintenance shell will now be started. After performing system maintenance, press CONTROL-D to terminate the main[warnce shell and restart the system. ... (warning).
Give root password for maintenance
(or type Control-D to continue):
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.9-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=sk_SK, LC_CTYPE=sk_SK.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash
Versions of packages xfsprogs depends on:
ii libblkid1 2.20.1-5.4
ii libc6 2.17-7
ii libreadline5 5.2+dfsg-2
ii libuuid1 2.20.1-5.4
xfsprogs recommends no packages.
Versions of packages xfsprogs suggests:
ii acl 2.2.52-1
pn attr <none>
pn quota <none>
pn xfsdump <none>
-- no debconf information
http://blog.hostname.sk/debianbug
#!/bin/sh PREREQ="" prereqs() { echo "$PREREQ" } case $1 in prereqs) prereqs exit 0 ;; esac if [ ! -x /sbin/xfs_repair ]; then exit 0 fi . /usr/share/initramfs-tools/hook-functions for x in xfs_copy xfs_db xfs_admin xfs_check xfs_ncheck xfs_metadump xfs_estimate xfs_fsr xfs_growfs xfs_info xfs_io xfs_bmap xfs_freeze xfs_mkfile xfs_logprint xfs_quota xfs_mdrestore xfs_rtcp; do copy_exec /usr/sbin/$x done copy_exec /sbin/xfs_repair copy_exec /sbin/mkfs.xfs cp -p /sbin/mkfs.xfs "${DESTDIR}/sbin" cp -p /sbin/fsck.xfs "${DESTDIR}/sbin" for x in libcrc32c xfs; do manual_add_modules ${x} done
_______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs