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

Re: How to use hammer volume-add and volume-del


From: Michael Neumann <michaelneuma@xxxxxxxxxxxxxx>
Date: Tue, 6 Apr 2010 23:08:12 +0200



2010/4/6 lhmwzy <lhmwzy@gmail.com>
Could anyone write a artilce about how to use hammer volume-add and
volume-del step by step?
I can't do it well.

You used it correctly and discovered a bug. It's really as easy as:

  hammer volume-add /dev/ad1 /

You can use whatever device, partition, slice etc. you want instead of /dev/ad1.

Note that if you extend you root filesystem, you'd also need to change
your /boot/loader.conf vfs.root.mountfrom setting to include ad1:

Before volume-add:

  vfs.root.mountfrom="hammer:ad0s1d"

After volume-add:

  vfs. root.mountfrom="hammer:ad0s1d:ad1"

Always keep in mind that volume-add and volume-del is still experimental, which means that it needs more testing!

Regards,

  Michael


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