Jan 30, 2010

create & mount pool

Now, you finished the preparation to use zfs.

Let's create and mount the zfs pool as Linux file system!

note: you need root account to execute the following operation.

1. start zfs-fuse

First of all, you should start zfs-fuse daemon.

To start zfs-fuse daemon.

# /usr/sbin/zfs-fuse

That's all.

2. create and mount the pool

To create and mount device into zfs-pool, you should use zpool command.

# mkdir /share
# zpool create -m /share archive /dev/hdb

The above zpool command executes the following work.
    (1) create the pool which is "archive" using /dev/hdb device.
    (2) mount its pool into /share directory.

No comments:

Post a Comment