[arch-general] [signoff] btrfs-progs
Jackson Alley
toomanymirrors at gmail.com
Fri Aug 3 18:32:08 EDT 2012
On 08/03/2012 06:20 PM, Tom Gundersen wrote:
> On Sat, Aug 4, 2012 at 12:04 AM, Jackson Alley <toomanymirrors at gmail.com> wrote:
>> Ok, looks like I've got an unusual setup and am having issues at boot.
>> I've got multi-device btrfs raid and am still using the old rc/init
>> layout.
> Could you give more info. What exactly fails? What is the output?
>
>> I found this, but haven't verified if it works yet:
>> http://help.lockergnome.com/linux/Bug-634658-BTRFS-raid-configurations-work-box--ftopict558957.html
> I didn't get that. You haven't verified that what works?
>
> -t
Sorry, I'm just getting back from vacation and am having trouble finding
the time to reboot right now playing catchup. At boot it gives an error
about wrong fs type and doesn't mount any of the btrfs volumes. Also I
get an error with mkinitcpio trying to include a btrfs hook, says no
hook found.
Jackson
-------------- next part --------------
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
# See 'man 5 rc.conf' for more details
#
# LOCALIZATION
# ------------
HARDWARECLOCK="UTC"
TIMEZONE="America/New_York"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
LOCALE="en_US.UTF-8"
DAEMON_LOCALE="yes"
USECOLOR="yes"
# HARDWARE
# --------
MODULES=()
USEDMRAID="no"
USEBTRFS="yes"
USELVM="no"
# NETWORKING
# ----------
HOSTNAME=beast
interface=eth0
address=
netmask=
broadcast=
gateway=
NETWORK_PERSIST="no"
# DAEMONS
# -------
#
DAEMONS=(hwclock syslog-ng network !net-rename !net-profiles dbus ufw netfs !dnscrype-proxy !unbound crond gpm !fancontrol healthd smartd storage-fixup sensors sensord @ntpdate sshd tor privoxy @oss mpd lastfmsubmitd lastmp vboxdrv bluetooth !bitcoind @arch32d)
-------------- next part --------------
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
LABEL=ssd_root / ext4 defaults 0 1
LABEL=ssd_swap swap swap defaults 0 0
#LABEL=btr_pool /var btrfs defaults,nodatacow,compress=lzo,space_cache,autodefrag,inode_cache,subvol=var 0 0
LABEL=btr_pool /var btrfs defaults,nodatacow,compress=lzo,space_cache,autodefrag,subvol=var 0 0
#LABEL=btr_pool /opt btrfs defaults,compress=lzo,space_cache,autodefrag,inode_cache,subvol=opt 0 0
LABEL=btr_pool /opt btrfs defaults,compress=lzo,space_cache,autodefrag,subvol=opt 0 0
#LABEL=btr_pool /home btrfs defaults,nodatacow,space_cache,autodefrag,inode_cache,subvol=home 0 0
LABEL=btr_pool /home btrfs defaults,nodatacow,space_cache,autodefrag,subvol=home 0 0
LABEL=btr_pool /media/btrfs btrfs defaults,noauto 0 0
LABEL=BACKUP /media/backup ntfs-3g defaults,noauto,users,gid=users,fmask=113,dmask=002,uid=jalley,windows_names 0 0
#LABEL=btr_pool /usr btrfs defaults,space_cache,inode_cache,subvol=usr 0 0
-------------- next part --------------
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
# in this array. For instance:
# MODULES="piix ide_disk reiserfs"
MODULES="pata_jmicron ahci libahci ehci-hcd uhci-hcd ext2 btrfs crc32c radeon"
# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image. This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=""
# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way. This is useful for config files.
# Some users may wish to include modprobe.conf for custom module options
# like so:
# FILES="/etc/modprobe.d/modprobe.conf"
FILES=""
# HOOKS
# This is the most important setting in this file. The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
## This setup specifies all modules in the MODULES setting above.
## No raid, lvm2, or encrypted root is needed.
# HOOKS="base"
#
## This setup will autodetect all modules for your system and should
## work as a sane default
# HOOKS="base udev autodetect pata scsi sata filesystems"
#
## This is identical to the above, except the old ide subsystem is
## used for IDE devices instead of the new pata subsystem.
# HOOKS="base udev autodetect ide scsi sata filesystems"
#
## This setup will generate a 'full' image which supports most systems.
## No autodetection is done.
# HOOKS="base udev pata scsi sata usb filesystems"
#
## This setup assembles a pata mdadm array with an encrypted root FS.
## Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
# HOOKS="base udev pata mdadm encrypt filesystems"
#
## This setup loads an lvm2 volume group on a usb device.
# HOOKS="base udev usb lvm2 filesystems"
#
## NOTE: If you have /usr on a separate partition, you MUST include the
# usr, fsck and shutdown hooks.
HOOKS="base udev autodetect pata scsi sata filesystems usbinput fsck"
# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
COMPRESSION="xz"
#COMPRESSION="lzop"
# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=""
More information about the arch-general
mailing list