[New: openFATE 313130] Support btrfs RAID1 mirrored partitions
Feature added by: Bat Pul (batpul) Feature #313130, revision 1 Title: Support btrfs RAID1 mirrored partitions openFATE: Unconfirmed Priority Requester: Important Requested by: Bat Pul (batpul) Partner organization: openSUSE.org Description: In release 12.1 openSUSE adds support for btrfs. The btrfs filesystem supports several RAID configurations on the filesystem level. This is great since now it is no longer necessary to use Multiple Devices or other mechanisms to support RAID filesystems. Mirrored filesystems are a means to increase data reliability and read speed. However, btrfs mirrored filesystems are currently not supported during installation nor in yast2. Since it is not trivial to add such a filesystem to a openSUSE 12.1 system this is a useful addition. In addition there should be integrated support in openSUSE to detect and recover from situations where one partition fails which is part of a btrfs RAID1 filesystem. Use Case: It is far from trivial to accomplish integration of a RAID1 btrfs mirrored filesystem in the system. Such a filesystem can be created with: mkfs.btrfs -L mylabel -m raid1 -d raid1 /dev/sda4 /dev/sdb4 This filesystem can then be mounted with: mount /dev/sda4 /mnt However, after reboot openSUSE 12.1 fails to mount this again with the identical command. As a response it gives the following two unclear messages in dmesg: btrfs: failed to read the system array on sda4 btrfs: open_ctree failed The trick is to specify both devices as: mount -o device=/dev/sda4,device=/dev/sdb4 /dev/sda4 /mnt The fstab entry should then become: /dev/sda4 /mnt btrfs device=/dev/sda4,device=/dev/sdb4 1 2 Then after reboot the filesystem is mounted. Knowledge of these facts and integration of btrfs RAID options during installation and in yast2 would help. -- openSUSE Feature: https://features.opensuse.org/313130
Feature changed by: Bat Pul (batpul) Feature #313130, revision 2 Title: Support btrfs RAID1 mirrored partitions openFATE: Unconfirmed Priority Requester: Important Requested by: Bat Pul (batpul) Partner organization: openSUSE.org Description: In release 12.1 openSUSE adds support for btrfs. The btrfs filesystem supports several RAID configurations on the filesystem level. This is great since now it is no longer necessary to use Multiple Devices or other mechanisms to support RAID filesystems. Mirrored filesystems are a means to increase data reliability and read speed. However, btrfs mirrored filesystems are currently not supported during installation nor in yast2. Since it is not trivial to add such a filesystem to a openSUSE 12.1 system this is a useful addition. In addition there should be integrated support in openSUSE to detect and recover from situations where one partition fails which is part of a btrfs RAID1 filesystem. Use Case: It is far from trivial to accomplish integration of a RAID1 btrfs mirrored filesystem in the system. Such a filesystem can be created with: mkfs.btrfs -L mylabel -m raid1 -d raid1 /dev/sda4 /dev/sdb4 This filesystem can then be mounted with: mount /dev/sda4 /mnt However, after reboot openSUSE 12.1 fails to mount this again with the identical command. As a response it gives the following two unclear messages in dmesg: btrfs: failed to read the system array on sda4 btrfs: open_ctree failed The trick is to specify both devices as: mount -o device=/dev/sda4,device=/dev/sdb4 /dev/sda4 /mnt The fstab entry should - then become: /dev/sda4 /mnt btrfs device=/dev/sda4,device=/dev/sdb4 1 2 + then become: + /dev/sda4 /mnt btrfs device=/dev/sda4,device=/dev/sdb4 1 2 Then after reboot the filesystem is mounted. Knowledge of these facts and integration of btrfs RAID options during installation and in yast2 would help. + There currently doesn't appear to be a way to convert a single + partition root btrfs filesystem to RAID1. The only way to achieve a + RAID1 root partition is therefore during installation. -- openSUSE Feature: https://features.opensuse.org/313130
Feature changed by: Bat Pul (batpul) Feature #313130, revision 3 Title: Support btrfs RAID1 mirrored partitions openFATE: Unconfirmed Priority Requester: Important Requested by: Bat Pul (batpul) Partner organization: openSUSE.org Description: In release 12.1 openSUSE adds support for btrfs. The btrfs filesystem supports several RAID configurations on the filesystem level. This is great since now it is no longer necessary to use Multiple Devices or other mechanisms to support RAID filesystems. Mirrored filesystems are a means to increase data reliability and read speed. However, btrfs mirrored filesystems are currently not supported during installation nor in yast2. Since it is not trivial to add such a filesystem to a openSUSE 12.1 system this is a useful addition. In addition there should be integrated support in openSUSE to detect and recover from situations where one partition fails which is part of a btrfs RAID1 filesystem. Use Case: It is far from trivial to accomplish integration of a RAID1 btrfs mirrored filesystem in the system. Such a filesystem can be created - with: mkfs.btrfs -L mylabel -m raid1 -d raid1 /dev/sda4 /dev/sdb4 This - filesystem can then be mounted with: mount /dev/sda4 /mnt However, - after reboot openSUSE 12.1 fails to mount this again with the identical - command. As a response it gives the following two unclear messages in - dmesg: btrfs: failed to read the system array on sda4 btrfs: open_ctree - failed The trick is to specify both devices as: mount -o - device=/dev/sda4,device=/dev/sdb4 /dev/sda4 /mnt The fstab entry should - then become: + with: + mkfs.btrfs -L mylabel -m raid1 -d raid1 /dev/sda4 /dev/sdb4 + This filesystem can then be mounted with: + mount /dev/sda4 /mnt + However, after reboot openSUSE 12.1 fails to mount this again with the + identical command. As a response it gives the following two unclear + messages in dmesg: + btrfs: failed to read the system array on sda4 btrfs: open_ctree failed + The trick is to specify both devices as: + mount -o device=/dev/sda4,device=/dev/sdb4 /dev/sda4 /mnt + The fstab entry should then become: /dev/sda4 /mnt btrfs device=/dev/sda4,device=/dev/sdb4 1 2 Then after reboot the filesystem is mounted. Knowledge of these facts and integration of btrfs RAID options during installation and in yast2 would help. There currently doesn't appear to be a way to convert a single partition root btrfs filesystem to RAID1. The only way to achieve a RAID1 root partition is therefore during installation. -- openSUSE Feature: https://features.opensuse.org/313130
Feature changed by: Bat Pul (batpul) Feature #313130, revision 4 Title: Support btrfs RAID1 mirrored partitions openFATE: Unconfirmed Priority Requester: Important Requested by: Bat Pul (batpul) Partner organization: openSUSE.org Description: In release 12.1 openSUSE adds support for btrfs. The btrfs filesystem supports several RAID configurations on the filesystem level. This is great since now it is no longer necessary to use Multiple Devices or other mechanisms to support RAID filesystems. Mirrored filesystems are a means to increase data reliability and read speed. However, btrfs mirrored filesystems are currently not supported during installation nor in yast2. Since it is not trivial to add such a filesystem to a openSUSE 12.1 system this is a useful addition. In addition there should be integrated support in openSUSE to detect and recover from situations where one partition fails which is part of a btrfs RAID1 filesystem. Use Case: It is far from trivial to accomplish integration of a RAID1 btrfs mirrored filesystem in the system. Such a filesystem can be created with: mkfs.btrfs -L mylabel -m raid1 -d raid1 /dev/sda4 /dev/sdb4 This filesystem can then be mounted with: mount /dev/sda4 /mnt However, after reboot openSUSE 12.1 fails to mount this again with the identical command. As a response it gives the following two unclear messages in dmesg: btrfs: failed to read the system array on sda4 btrfs: open_ctree failed The trick is to specify both devices as: mount -o device=/dev/sda4,device=/dev/sdb4 /dev/sda4 /mnt The fstab entry should then become: /dev/sda4 /mnt btrfs device=/dev/sda4,device=/dev/sdb4 1 2 Then after reboot the filesystem is mounted. Knowledge of these facts and integration of btrfs RAID options during installation and in yast2 would help. There currently doesn't appear to be a way to convert a single partition root btrfs filesystem to RAID1. The only way to achieve a - RAID1 root partition is therefore during installation. + btrfs RAID1 root partition is therefore during installation. -- openSUSE Feature: https://features.opensuse.org/313130
Feature changed by: Jan Engelhardt (jengelh) Feature #313130, revision 5 Title: Support btrfs RAID1 mirrored partitions openFATE: Unconfirmed Priority Requester: Important Requested by: Bat Pul (batpul) Partner organization: openSUSE.org Description: In release 12.1 openSUSE adds support for btrfs. The btrfs filesystem supports several RAID configurations on the filesystem level. This is great since now it is no longer necessary to use Multiple Devices or other mechanisms to support RAID filesystems. Mirrored filesystems are a means to increase data reliability and read speed. However, btrfs mirrored filesystems are currently not supported during installation nor in yast2. Since it is not trivial to add such a filesystem to a openSUSE 12.1 system this is a useful addition. In addition there should be integrated support in openSUSE to detect and recover from situations where one partition fails which is part of a btrfs RAID1 filesystem. Use Case: It is far from trivial to accomplish integration of a RAID1 btrfs mirrored filesystem in the system. Such a filesystem can be created with: mkfs.btrfs -L mylabel -m raid1 -d raid1 /dev/sda4 /dev/sdb4 This filesystem can then be mounted with: mount /dev/sda4 /mnt However, after reboot openSUSE 12.1 fails to mount this again with the identical command. As a response it gives the following two unclear messages in dmesg: btrfs: failed to read the system array on sda4 btrfs: open_ctree failed The trick is to specify both devices as: mount -o device=/dev/sda4,device=/dev/sdb4 /dev/sda4 /mnt The fstab entry should then become: /dev/sda4 /mnt btrfs device=/dev/sda4,device=/dev/sdb4 1 2 Then after reboot the filesystem is mounted. Knowledge of these facts and integration of btrfs RAID options during installation and in yast2 would help. There currently doesn't appear to be a way to convert a single partition root btrfs filesystem to RAID1. The only way to achieve a btrfs RAID1 root partition is therefore during installation. + Discussion: + #1: Jan Engelhardt (jengelh) (2012-03-31 16:25:19) + The trick is actually to run `btrfs device scan`. Then, either + /dev/sda4 or /dev/sdb4 can be used for mounting, and you don't need + that fugly devices= extra option. -- openSUSE Feature: https://features.opensuse.org/313130
Feature changed by: Terence Honles (terencehonles) Feature #313130, revision 6 Title: Support btrfs RAID1 mirrored partitions openFATE: Unconfirmed Priority Requester: Important Requested by: Bat Pul (batpul) Partner organization: openSUSE.org Description: In release 12.1 openSUSE adds support for btrfs. The btrfs filesystem supports several RAID configurations on the filesystem level. This is great since now it is no longer necessary to use Multiple Devices or other mechanisms to support RAID filesystems. Mirrored filesystems are a means to increase data reliability and read speed. However, btrfs mirrored filesystems are currently not supported during installation nor in yast2. Since it is not trivial to add such a filesystem to a openSUSE 12.1 system this is a useful addition. In addition there should be integrated support in openSUSE to detect and recover from situations where one partition fails which is part of a btrfs RAID1 filesystem. Use Case: It is far from trivial to accomplish integration of a RAID1 btrfs mirrored filesystem in the system. Such a filesystem can be created with: mkfs.btrfs -L mylabel -m raid1 -d raid1 /dev/sda4 /dev/sdb4 This filesystem can then be mounted with: mount /dev/sda4 /mnt However, after reboot openSUSE 12.1 fails to mount this again with the identical command. As a response it gives the following two unclear messages in dmesg: btrfs: failed to read the system array on sda4 btrfs: open_ctree failed The trick is to specify both devices as: mount -o device=/dev/sda4,device=/dev/sdb4 /dev/sda4 /mnt The fstab entry should then become: /dev/sda4 /mnt btrfs device=/dev/sda4,device=/dev/sdb4 1 2 Then after reboot the filesystem is mounted. Knowledge of these facts and integration of btrfs RAID options during installation and in yast2 would help. There currently doesn't appear to be a way to convert a single partition root btrfs filesystem to RAID1. The only way to achieve a btrfs RAID1 root partition is therefore during installation. Discussion: #1: Jan Engelhardt (jengelh) (2012-03-31 16:25:19) The trick is actually to run `btrfs device scan`. Then, either /dev/sda4 or /dev/sdb4 can be used for mounting, and you don't need that fugly devices= extra option. + #2: Terence Honles (terencehonles) (2012-04-26 04:14:08) + I thought I saw ``btrfs device scan`` as part of the boot up scripts + when I was configuring the drive, but I believe this is the issue I ran + into today. (I did see this before but I ran fschk and then everything + worked) Unfortunately I'm not at home so I'm going to have to ask my + dad to make the changes and then see if the issue is fixed. (I will + update) + ...Luckily my father introduced me to openSUSE and can manage fixing + the config -- openSUSE Feature: https://features.opensuse.org/313130
Feature changed by: Terence Honles (terencehonles) Feature #313130, revision 8 Title: Support btrfs RAID1 mirrored partitions openFATE: Unconfirmed Priority Requester: Important Requested by: Bat Pul (batpul) Partner organization: openSUSE.org Description: In release 12.1 openSUSE adds support for btrfs. The btrfs filesystem supports several RAID configurations on the filesystem level. This is great since now it is no longer necessary to use Multiple Devices or other mechanisms to support RAID filesystems. Mirrored filesystems are a means to increase data reliability and read speed. However, btrfs mirrored filesystems are currently not supported during installation nor in yast2. Since it is not trivial to add such a filesystem to a openSUSE 12.1 system this is a useful addition. In addition there should be integrated support in openSUSE to detect and recover from situations where one partition fails which is part of a btrfs RAID1 filesystem. Use Case: It is far from trivial to accomplish integration of a RAID1 btrfs mirrored filesystem in the system. Such a filesystem can be created with: mkfs.btrfs -L mylabel -m raid1 -d raid1 /dev/sda4 /dev/sdb4 This filesystem can then be mounted with: mount /dev/sda4 /mnt However, after reboot openSUSE 12.1 fails to mount this again with the identical command. As a response it gives the following two unclear messages in dmesg: btrfs: failed to read the system array on sda4 btrfs: open_ctree failed The trick is to specify both devices as: mount -o device=/dev/sda4,device=/dev/sdb4 /dev/sda4 /mnt The fstab entry should then become: /dev/sda4 /mnt btrfs device=/dev/sda4,device=/dev/sdb4 1 2 Then after reboot the filesystem is mounted. Knowledge of these facts and integration of btrfs RAID options during installation and in yast2 would help. There currently doesn't appear to be a way to convert a single partition root btrfs filesystem to RAID1. The only way to achieve a btrfs RAID1 root partition is therefore during installation. Discussion: #1: Jan Engelhardt (jengelh) (2012-03-31 16:25:19) The trick is actually to run `btrfs device scan`. Then, either /dev/sda4 or /dev/sdb4 can be used for mounting, and you don't need that fugly devices= extra option. #2: Terence Honles (terencehonles) (2012-04-26 04:14:08) I thought I saw ``btrfs device scan`` as part of the boot up scripts when I was configuring the drive, but I believe this is the issue I ran into today. (I did see this before but I ran fschk and then everything worked) Unfortunately I'm not at home so I'm going to have to ask my dad to make the changes and then see if the issue is fixed. (I will update) ...Luckily my father introduced me to openSUSE and can manage fixing the config + #3: Terence Honles (terencehonles) (2012-05-15 01:54:37) (reply to #2) + I can confirm adding the additional devices to fstab works as a fix, + but ``btrfs device scan`` should really be run during the systemd + ``local-fs.target``. + I was looking for where I saw the ``btrfs scan`` and the only thing I + could easily find was in ``/lib/mkinitrd/scripts/boot-btrfs.sh`` -- openSUSE Feature: https://features.opensuse.org/313130
Feature changed by: Matthias Eckermann (mge1512) Feature #313130, revision 9 Title: Support btrfs RAID1 mirrored partitions openFATE: Unconfirmed Priority Requester: Important Requested by: Bat Pul (batpul) + Product Manager: Michael Elliott (mge) Partner organization: openSUSE.org Description: In release 12.1 openSUSE adds support for btrfs. The btrfs filesystem supports several RAID configurations on the filesystem level. This is great since now it is no longer necessary to use Multiple Devices or other mechanisms to support RAID filesystems. Mirrored filesystems are a means to increase data reliability and read speed. However, btrfs mirrored filesystems are currently not supported during installation nor in yast2. Since it is not trivial to add such a filesystem to a openSUSE 12.1 system this is a useful addition. In addition there should be integrated support in openSUSE to detect and recover from situations where one partition fails which is part of a btrfs RAID1 filesystem. Use Case: It is far from trivial to accomplish integration of a RAID1 btrfs mirrored filesystem in the system. Such a filesystem can be created with: mkfs.btrfs -L mylabel -m raid1 -d raid1 /dev/sda4 /dev/sdb4 This filesystem can then be mounted with: mount /dev/sda4 /mnt However, after reboot openSUSE 12.1 fails to mount this again with the identical command. As a response it gives the following two unclear messages in dmesg: btrfs: failed to read the system array on sda4 btrfs: open_ctree failed The trick is to specify both devices as: mount -o device=/dev/sda4,device=/dev/sdb4 /dev/sda4 /mnt The fstab entry should then become: /dev/sda4 /mnt btrfs device=/dev/sda4,device=/dev/sdb4 1 2 Then after reboot the filesystem is mounted. Knowledge of these facts and integration of btrfs RAID options during installation and in yast2 would help. There currently doesn't appear to be a way to convert a single partition root btrfs filesystem to RAID1. The only way to achieve a btrfs RAID1 root partition is therefore during installation. Discussion: #1: Jan Engelhardt (jengelh) (2012-03-31 16:25:19) The trick is actually to run `btrfs device scan`. Then, either /dev/sda4 or /dev/sdb4 can be used for mounting, and you don't need that fugly devices= extra option. #2: Terence Honles (terencehonles) (2012-04-26 04:14:08) I thought I saw ``btrfs device scan`` as part of the boot up scripts when I was configuring the drive, but I believe this is the issue I ran into today. (I did see this before but I ran fschk and then everything worked) Unfortunately I'm not at home so I'm going to have to ask my dad to make the changes and then see if the issue is fixed. (I will update) ...Luckily my father introduced me to openSUSE and can manage fixing the config #3: Terence Honles (terencehonles) (2012-05-15 01:54:37) (reply to #2) I can confirm adding the additional devices to fstab works as a fix, but ``btrfs device scan`` should really be run during the systemd ``local-fs.target``. I was looking for where I saw the ``btrfs scan`` and the only thing I could easily find was in ``/lib/mkinitrd/scripts/boot-btrfs.sh`` -- openSUSE Feature: https://features.opensuse.org/313130
Feature changed by: Stefan Behlert (sbehlert) Feature #313130, revision 10 Title: Support btrfs RAID1 mirrored partitions openFATE: Unconfirmed Priority Requester: Important Requested by: Bat Pul (batpul) - Product Manager: Michael Elliott (mge) Partner organization: openSUSE.org Description: In release 12.1 openSUSE adds support for btrfs. The btrfs filesystem supports several RAID configurations on the filesystem level. This is great since now it is no longer necessary to use Multiple Devices or other mechanisms to support RAID filesystems. Mirrored filesystems are a means to increase data reliability and read speed. However, btrfs mirrored filesystems are currently not supported during installation nor in yast2. Since it is not trivial to add such a filesystem to a openSUSE 12.1 system this is a useful addition. In addition there should be integrated support in openSUSE to detect and recover from situations where one partition fails which is part of a btrfs RAID1 filesystem. Use Case: It is far from trivial to accomplish integration of a RAID1 btrfs mirrored filesystem in the system. Such a filesystem can be created with: mkfs.btrfs -L mylabel -m raid1 -d raid1 /dev/sda4 /dev/sdb4 This filesystem can then be mounted with: mount /dev/sda4 /mnt However, after reboot openSUSE 12.1 fails to mount this again with the identical command. As a response it gives the following two unclear messages in dmesg: btrfs: failed to read the system array on sda4 btrfs: open_ctree failed The trick is to specify both devices as: mount -o device=/dev/sda4,device=/dev/sdb4 /dev/sda4 /mnt The fstab entry should then become: /dev/sda4 /mnt btrfs device=/dev/sda4,device=/dev/sdb4 1 2 Then after reboot the filesystem is mounted. Knowledge of these facts and integration of btrfs RAID options during installation and in yast2 would help. There currently doesn't appear to be a way to convert a single partition root btrfs filesystem to RAID1. The only way to achieve a btrfs RAID1 root partition is therefore during installation. Discussion: #1: Jan Engelhardt (jengelh) (2012-03-31 16:25:19) The trick is actually to run `btrfs device scan`. Then, either /dev/sda4 or /dev/sdb4 can be used for mounting, and you don't need that fugly devices= extra option. #2: Terence Honles (terencehonles) (2012-04-26 04:14:08) I thought I saw ``btrfs device scan`` as part of the boot up scripts when I was configuring the drive, but I believe this is the issue I ran into today. (I did see this before but I ran fschk and then everything worked) Unfortunately I'm not at home so I'm going to have to ask my dad to make the changes and then see if the issue is fixed. (I will update) ...Luckily my father introduced me to openSUSE and can manage fixing the config #3: Terence Honles (terencehonles) (2012-05-15 01:54:37) (reply to #2) I can confirm adding the additional devices to fstab works as a fix, but ``btrfs device scan`` should really be run during the systemd ``local-fs.target``. I was looking for where I saw the ``btrfs scan`` and the only thing I could easily find was in ``/lib/mkinitrd/scripts/boot-btrfs.sh`` -- openSUSE Feature: https://features.opensuse.org/313130
Feature changed by: Matthias Eckermann (mge1512) Feature #313130, revision 12 Title: Support btrfs RAID1 mirrored partitions openFATE: Unconfirmed Priority Requester: Important Requested by: Bat Pul (batpul) Partner organization: openSUSE.org Description: In release 12.1 openSUSE adds support for btrfs. The btrfs filesystem supports several RAID configurations on the filesystem level. This is great since now it is no longer necessary to use Multiple Devices or other mechanisms to support RAID filesystems. Mirrored filesystems are a means to increase data reliability and read speed. However, btrfs mirrored filesystems are currently not supported during installation nor in yast2. Since it is not trivial to add such a filesystem to a openSUSE 12.1 system this is a useful addition. In addition there should be integrated support in openSUSE to detect and recover from situations where one partition fails which is part of a btrfs RAID1 filesystem. + Relations: + - (feature/duplicate: 316216) Use Case: It is far from trivial to accomplish integration of a RAID1 btrfs mirrored filesystem in the system. Such a filesystem can be created with: mkfs.btrfs -L mylabel -m raid1 -d raid1 /dev/sda4 /dev/sdb4 This filesystem can then be mounted with: mount /dev/sda4 /mnt However, after reboot openSUSE 12.1 fails to mount this again with the identical command. As a response it gives the following two unclear messages in dmesg: btrfs: failed to read the system array on sda4 btrfs: open_ctree failed The trick is to specify both devices as: mount -o device=/dev/sda4,device=/dev/sdb4 /dev/sda4 /mnt The fstab entry should then become: /dev/sda4 /mnt btrfs device=/dev/sda4,device=/dev/sdb4 1 2 Then after reboot the filesystem is mounted. Knowledge of these facts and integration of btrfs RAID options during installation and in yast2 would help. There currently doesn't appear to be a way to convert a single partition root btrfs filesystem to RAID1. The only way to achieve a btrfs RAID1 root partition is therefore during installation. Discussion: #1: Jan Engelhardt (jengelh) (2012-03-31 16:25:19) The trick is actually to run `btrfs device scan`. Then, either /dev/sda4 or /dev/sdb4 can be used for mounting, and you don't need that fugly devices= extra option. #2: Terence Honles (terencehonles) (2012-04-26 04:14:08) I thought I saw ``btrfs device scan`` as part of the boot up scripts when I was configuring the drive, but I believe this is the issue I ran into today. (I did see this before but I ran fschk and then everything worked) Unfortunately I'm not at home so I'm going to have to ask my dad to make the changes and then see if the issue is fixed. (I will update) ...Luckily my father introduced me to openSUSE and can manage fixing the config #3: Terence Honles (terencehonles) (2012-05-15 01:54:37) (reply to #2) I can confirm adding the additional devices to fstab works as a fix, but ``btrfs device scan`` should really be run during the systemd ``local-fs.target``. I was looking for where I saw the ``btrfs scan`` and the only thing I could easily find was in ``/lib/mkinitrd/scripts/boot-btrfs.sh`` -- openSUSE Feature: https://features.opensuse.org/313130
Feature changed by: Norbert Jurkeit (norbert_jurkeit) Feature #313130, revision 14 Title: Support btrfs RAID1 mirrored partitions openFATE: Unconfirmed Priority Requester: Important Requested by: Bat Pul (batpul) Partner organization: openSUSE.org Description: In release 12.1 openSUSE adds support for btrfs. The btrfs filesystem supports several RAID configurations on the filesystem level. This is great since now it is no longer necessary to use Multiple Devices or other mechanisms to support RAID filesystems. Mirrored filesystems are a means to increase data reliability and read speed. However, btrfs mirrored filesystems are currently not supported during installation nor in yast2. Since it is not trivial to add such a filesystem to a openSUSE 12.1 system this is a useful addition. In addition there should be integrated support in openSUSE to detect and recover from situations where one partition fails which is part of a btrfs RAID1 filesystem. Relations: - (feature/duplicate: 316216) Use Case: It is far from trivial to accomplish integration of a RAID1 btrfs mirrored filesystem in the system. Such a filesystem can be created with: mkfs.btrfs -L mylabel -m raid1 -d raid1 /dev/sda4 /dev/sdb4 This filesystem can then be mounted with: mount /dev/sda4 /mnt However, after reboot openSUSE 12.1 fails to mount this again with the identical command. As a response it gives the following two unclear messages in dmesg: btrfs: failed to read the system array on sda4 btrfs: open_ctree failed The trick is to specify both devices as: mount -o device=/dev/sda4,device=/dev/sdb4 /dev/sda4 /mnt The fstab entry should then become: /dev/sda4 /mnt btrfs device=/dev/sda4,device=/dev/sdb4 1 2 Then after reboot the filesystem is mounted. Knowledge of these facts and integration of btrfs RAID options during installation and in yast2 would help. There currently doesn't appear to be a way to convert a single partition root btrfs filesystem to RAID1. The only way to achieve a btrfs RAID1 root partition is therefore during installation. Discussion: #1: Jan Engelhardt (jengelh) (2012-03-31 16:25:19) The trick is actually to run `btrfs device scan`. Then, either /dev/sda4 or /dev/sdb4 can be used for mounting, and you don't need that fugly devices= extra option. #2: Terence Honles (terencehonles) (2012-04-26 04:14:08) I thought I saw ``btrfs device scan`` as part of the boot up scripts when I was configuring the drive, but I believe this is the issue I ran into today. (I did see this before but I ran fschk and then everything worked) Unfortunately I'm not at home so I'm going to have to ask my dad to make the changes and then see if the issue is fixed. (I will update) ...Luckily my father introduced me to openSUSE and can manage fixing the config #3: Terence Honles (terencehonles) (2012-05-15 01:54:37) (reply to #2) I can confirm adding the additional devices to fstab works as a fix, but ``btrfs device scan`` should really be run during the systemd ``local-fs.target``. I was looking for where I saw the ``btrfs scan`` and the only thing I could easily find was in ``/lib/mkinitrd/scripts/boot-btrfs.sh`` + #4: Norbert Jurkeit (norbert_jurkeit) (2014-10-07 18:55:20) + Easy creation of BTRFS RAID with YaST would be appreciated by me, too. + I can remember that usage of built-in RAID functions of BTRFS was + discouraged in the past, but on LinuxCon 2014 in Chicago RAID 0 and 1 + were stated to be as stable as other basic functions. -- openSUSE Feature: https://features.opensuse.org/313130
Feature changed by: akash vishwakarma (vish_99) Feature #313130, revision 15 Title: Support btrfs RAID1 mirrored partitions - openFATE: Unconfirmed + openFATE: Rejected by akash vishwakarma (vish_99) + reject reason: changing product to openSUSE distribution Priority Requester: Important + openSUSE Distribution: Unconfirmed + Priority + Requester: Desirable Requested by: Bat Pul (batpul) Partner organization: openSUSE.org Description: In release 12.1 openSUSE adds support for btrfs. The btrfs filesystem supports several RAID configurations on the filesystem level. This is great since now it is no longer necessary to use Multiple Devices or other mechanisms to support RAID filesystems. Mirrored filesystems are a means to increase data reliability and read speed. However, btrfs mirrored filesystems are currently not supported during installation nor in yast2. Since it is not trivial to add such a filesystem to a openSUSE 12.1 system this is a useful addition. In addition there should be integrated support in openSUSE to detect and recover from situations where one partition fails which is part of a btrfs RAID1 filesystem. Relations: - (feature/duplicate: 316216) Use Case: It is far from trivial to accomplish integration of a RAID1 btrfs mirrored filesystem in the system. Such a filesystem can be created with: mkfs.btrfs -L mylabel -m raid1 -d raid1 /dev/sda4 /dev/sdb4 This filesystem can then be mounted with: mount /dev/sda4 /mnt However, after reboot openSUSE 12.1 fails to mount this again with the identical command. As a response it gives the following two unclear messages in dmesg: btrfs: failed to read the system array on sda4 btrfs: open_ctree failed The trick is to specify both devices as: mount -o device=/dev/sda4,device=/dev/sdb4 /dev/sda4 /mnt The fstab entry should then become: /dev/sda4 /mnt btrfs device=/dev/sda4,device=/dev/sdb4 1 2 Then after reboot the filesystem is mounted. Knowledge of these facts and integration of btrfs RAID options during installation and in yast2 would help. There currently doesn't appear to be a way to convert a single partition root btrfs filesystem to RAID1. The only way to achieve a btrfs RAID1 root partition is therefore during installation. Discussion: #1: Jan Engelhardt (jengelh) (2012-03-31 16:25:19) The trick is actually to run `btrfs device scan`. Then, either /dev/sda4 or /dev/sdb4 can be used for mounting, and you don't need that fugly devices= extra option. #2: Terence Honles (terencehonles) (2012-04-26 04:14:08) I thought I saw ``btrfs device scan`` as part of the boot up scripts when I was configuring the drive, but I believe this is the issue I ran into today. (I did see this before but I ran fschk and then everything worked) Unfortunately I'm not at home so I'm going to have to ask my dad to make the changes and then see if the issue is fixed. (I will update) ...Luckily my father introduced me to openSUSE and can manage fixing the config #3: Terence Honles (terencehonles) (2012-05-15 01:54:37) (reply to #2) I can confirm adding the additional devices to fstab works as a fix, but ``btrfs device scan`` should really be run during the systemd ``local-fs.target``. I was looking for where I saw the ``btrfs scan`` and the only thing I could easily find was in ``/lib/mkinitrd/scripts/boot-btrfs.sh`` #4: Norbert Jurkeit (norbert_jurkeit) (2014-10-07 18:55:20) Easy creation of BTRFS RAID with YaST would be appreciated by me, too. I can remember that usage of built-in RAID functions of BTRFS was discouraged in the past, but on LinuxCon 2014 in Chicago RAID 0 and 1 were stated to be as stable as other basic functions. -- openSUSE Feature: https://features.opensuse.org/313130
Feature changed by: Karl Cheng (qantas94heavy) Feature #313130, revision 16 Title: Support btrfs RAID1 mirrored partitions - openFATE: Rejected by akash vishwakarma (vish_99) - reject reason: changing product to openSUSE distribution + openSUSE Distribution: New Priority - Requester: Important - openSUSE Distribution: Unconfirmed - Priority Requester: Desirable Requested by: Bat Pul (batpul) Partner organization: openSUSE.org Description: In release 12.1 openSUSE adds support for btrfs. The btrfs filesystem supports several RAID configurations on the filesystem level. This is great since now it is no longer necessary to use Multiple Devices or other mechanisms to support RAID filesystems. Mirrored filesystems are a means to increase data reliability and read speed. However, btrfs mirrored filesystems are currently not supported during installation nor in yast2. Since it is not trivial to add such a filesystem to a openSUSE 12.1 system this is a useful addition. In addition there should be integrated support in openSUSE to detect and recover from situations where one partition fails which is part of a btrfs RAID1 filesystem. Relations: - (feature/duplicate: 316216) Use Case: It is far from trivial to accomplish integration of a RAID1 btrfs mirrored filesystem in the system. Such a filesystem can be created with: mkfs.btrfs -L mylabel -m raid1 -d raid1 /dev/sda4 /dev/sdb4 This filesystem can then be mounted with: mount /dev/sda4 /mnt However, after reboot openSUSE 12.1 fails to mount this again with the identical command. As a response it gives the following two unclear messages in dmesg: btrfs: failed to read the system array on sda4 btrfs: open_ctree failed The trick is to specify both devices as: mount -o device=/dev/sda4,device=/dev/sdb4 /dev/sda4 /mnt The fstab entry should then become: /dev/sda4 /mnt btrfs device=/dev/sda4,device=/dev/sdb4 1 2 Then after reboot the filesystem is mounted. Knowledge of these facts and integration of btrfs RAID options during installation and in yast2 would help. There currently doesn't appear to be a way to convert a single partition root btrfs filesystem to RAID1. The only way to achieve a btrfs RAID1 root partition is therefore during installation. Discussion: #1: Jan Engelhardt (jengelh) (2012-03-31 16:25:19) The trick is actually to run `btrfs device scan`. Then, either /dev/sda4 or /dev/sdb4 can be used for mounting, and you don't need that fugly devices= extra option. #2: Terence Honles (terencehonles) (2012-04-26 04:14:08) I thought I saw ``btrfs device scan`` as part of the boot up scripts when I was configuring the drive, but I believe this is the issue I ran into today. (I did see this before but I ran fschk and then everything worked) Unfortunately I'm not at home so I'm going to have to ask my dad to make the changes and then see if the issue is fixed. (I will update) ...Luckily my father introduced me to openSUSE and can manage fixing the config #3: Terence Honles (terencehonles) (2012-05-15 01:54:37) (reply to #2) I can confirm adding the additional devices to fstab works as a fix, but ``btrfs device scan`` should really be run during the systemd ``local-fs.target``. I was looking for where I saw the ``btrfs scan`` and the only thing I could easily find was in ``/lib/mkinitrd/scripts/boot-btrfs.sh`` #4: Norbert Jurkeit (norbert_jurkeit) (2014-10-07 18:55:20) Easy creation of BTRFS RAID with YaST would be appreciated by me, too. I can remember that usage of built-in RAID functions of BTRFS was discouraged in the past, but on LinuxCon 2014 in Chicago RAID 0 and 1 were stated to be as stable as other basic functions. -- openSUSE Feature: https://features.opensuse.org/313130
participants (1)
-
fate_noreply@suse.de