2010/4/6 lhmwzy <[email protected]> > 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
