BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] Moving Your Everyday System to New Hardware
- Subject: [Discuss] Moving Your Everyday System to New Hardware
- From: richard.pieri at gmail.com (Rich Pieri)
- Date: Wed, 28 Aug 2024 15:55:17 -0400
- In-reply-to: <87mskwr0v1.fsf@hobgoblin.ariadne.com>
- References: <mailman.1.1724860802.19041.discuss@lists.blu.org> <87mskwr0v1.fsf@hobgoblin.ariadne.com>
On Wed, 28 Aug 2024 13:52:34 -0400 "Dale R. Worley" <worley at alum.mit.edu> wrote: > I'm told ZFS is popular and supports copy-on-write, but it adds > another layer of volume management, so I chose XFS as the path with > lowest learning curve. I say exactly the opposite. Best practice is you give ZFS the entire device and let it do all the heavy lifting behind the scenes: zpool create -o ashift=12 tank mirror /dev/sdb /dev/sdc zfs create tank/music zfs create tank/movies zfs create tank/documents zfs create tank/backups This creates a zpool called "tank" with one mirrored vdev, and then creates four datasets for music, movies, documents, and backups from other machines. The ashift option ensures proper partition alignment on "advanced" drives from when these were new. It probably isn't needed any more. The equivalent with XFS would be: partition physical device times two mdadm to mirror partitions wait for mdadm to resilver pvcreate on the metadevice vgcreate volume group on PV lvcreate logical volume on VG times four mkfs.xfs LV times four add filesystem to /etc/fstab times four create mount points for filesystem times four mount the filesystem times four This might be familiar because it's traditional, but you can't convince me that it's simpler than ZFS. -- \m/ (--) \m/
- References:
- [Discuss] Moving Your Everyday System to New Hardware
- From: worley at alum.mit.edu (Dale R. Worley)
- [Discuss] Moving Your Everyday System to New Hardware
- Prev by Date: [Discuss] Moving Your Everyday System to New Hardware
- Next by Date: [Discuss] Moving Your Everyday System to New Hardware
- Previous by thread: [Discuss] Moving Your Everyday System to New Hardware
- Next by thread: [Discuss] Adm. Grace Hopper's "Lost" NSA Lecture
- Index(es):