On 20/01/15 00:50, James wrote:
> Bill Kenworthy <billk <at> iinet.net.au> writes:
>
>
>>> Am 19.01.2015 um 09:32 schrieb Bill Kenworthy:
>
>>>> Can someone suggest what is causing a balance on this raid 1
>
> Interesting.
> I am about to test (reboot) a btrfs, raid one installation.
>
>> Brilliant, you have hit on the answer! - The ancient 300GB system disk
>> was sda at one point and moved to sdb - possibly at the time I changed
>> to using UUID's. Ive just resized all the disks and its now moved past
>> 300G for the first time as well as the other two falling in step with
>> the data moving.
>
> I was wondering what my /etc/fstab should look like using uuids, raid 1 and
> btrfs.
>
> Could you post your /etc/fstab and any other modifications you made to
> your installation related to the btrfs, raid 1 uuid setup?
>
> I'm just using (2) identical 2T disks for my new gentoo workstation.
>
>> I moved to UUID's as the machine has a number of sata ports and a PCI-e
>> sata adaptor and the sd* drive numbering kept moving around when I added
>> the WD red.
>
>
> Eventually, I want to run CephFS on several of these raid one btrfs
> systems for some clustering code experiments. I'm not sure how that
> will affect, if at all, the raid 1-btrfs-uuid setup.
>
>
> TIA,
> James
>
>
>
>
Sorry about the line wrap:
rattus backups # lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1.8T 0 disk
sdb 8:16 0 279.5G 0 disk
├─sdb1 8:17 0 100M 0 part
├─sdb2 8:18 0 8G 0 part [SWAP]
└─sdb3 8:19 0 271.4G 0 part /
sdc 8:32 0 1.8T 0 disk /mnt/vm
sdd 8:48 0 1.8T 0 disk
sde 8:64 0 1.8T 0 disk
rattus backups #
rattus backups # blkid
/dev/sda: UUID="f5a284b6-442f-4b3d-aa1a-8d6296f517b1"
UUID_SUB="9003b772-3487-447a-9794-50cf9880a9c0" TYPE="btrfs" PTTYPE="dos"
/dev/sdc: UUID="f5a284b6-442f-4b3d-aa1a-8d6296f517b1"
UUID_SUB="20523d9d-3d90-439e-ad68-62def0824198" TYPE="btrfs"
/dev/sdb1: UUID="cc5f4bf7-28fc-4661-9d24-a0c9d0048f40" TYPE="ext2"
/dev/sdb2: UUID="dddb7e60-89a9-40d4-bf6b-ff4644e079e9" TYPE="swap"
/dev/sdb3: UUID="04d8ff4f-fe19-4530-ab45-d82fcd647515"
UUID_SUB="72134593-8c9f-436f-98ce-fbb07facbf35" TYPE="btrfs"
/dev/sdd: UUID="f5a284b6-442f-4b3d-aa1a-8d6296f517b1"
UUID_SUB="2ca026f7-e5c9-4ece-bba1-809ddb03979b" TYPE="btrfs"
rattus backups #
rattus backups # cat /etc/fstab
UUID=cc5f4bf7-28fc-4661-9d24-a0c9d0048f40 /boot
ext2 noauto,noatime
1 2
UUID=04d8ff4f-fe19-4530-ab45-d82fcd647515 /
btrfs
defaults,noatime,compress=lzo,space_cache 0 0
UUID=dddb7e60-89a9-40d4-bf6b-ff4644e079e9 none
swap sw
0 0
UUID=f5a284b6-442f-4b3d-aa1a-8d6296f517b1 /mnt/btrfs-root
btrfs
defaults,noatime,compress=lzo,space_cache 0 0
UUID=f5a284b6-442f-4b3d-aa1a-8d6296f517b1 /home/wdk
btrfs
defaults,noatime,compress=lzo,space_cache,subvolid=258 0 0
UUID=f5a284b6-442f-4b3d-aa1a-8d6296f517b1 /mnt/backups
btrfs
defaults,noatime,compress=lzo,space_cache,subvolid=365 0 0
UUID=f5a284b6-442f-4b3d-aa1a-8d6296f517b1 /mnt/vm
btrfs
defaults,noatime,compress=lzo,space_cache,subvolid=14916 0 0
rattus backups #