DragonFly BSD
DragonFly users List (threaded) for 2011-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Hammer on multiple hot-swappable disks

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 23 May 2011 14:13:57 -0700 (PDT)

:I'm thinking of founding an ISP and running it with a mix of DragonFly and 
:Linux boxes. My current boss showed me a rack-mountable server which he uses. 
:If I understood him right, it has three bays where hot-swappable SCSI drives 
:can be inserted. I was thinking about how to handle disks that are about to 
:fail, or whose filesystems are getting too big.
:Suppose I have a bunch of disks all partitioned like this:
:da#s1a 768 MB ufs /boot
:da#s1b 1 GB swap
:da#s1d hammer
:da#s1e luks hammer.
:I have da0 and da1 in the server and I want to insert a disk into da2 and pull 
:out the one in da1. Can I do this with the "hammer volume-add da2s1d; hammer 
:volume-del da1s1d"? How long will this take? Do I run cryptsetup on da2s1e 
:before adding the volume?

    No, unfortunately there is still one sticking point preventing that
    from working.  The volume delete code can't remove the root volume
    (in a multi-volume hammer mount one is designated as the root volume.
    In a single-volume hammer mount that volume IS the root volume for
    the mount).


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]