By Hui Deng on 五月 25, 2008
Manage ZFS with Web Console
ZFS file system is the an important feature to the Solaris 10, it is not an improvement for the old file system, but a new one. ZFS is the first file system with 128 bit, and it have the features of infinity capacity、freeness、consistent data and easy management.
ZFS abandon the volume management, and adopt the pool conception. The volume management is a way to manage the physical storage devices, and the pool is to manage the virtual device, the virtual devices could be file and device set, besides the physical device. We con add devices into the pool expediently, and all the devices in the pool can be shared by all the file systems that used the pool. When we make a new file system, we need not to assign it to an independent device any more, other than, we can set the size and attributes of the file system by ourselves.
In the Solaris 10, we can use the command to manage the ZFS, and also, there is a Web Console for us to manage the ZFS.
1、type https://127.0.0.q:6789 in the browser to open Web Console.
2、type the user name and password to login in.
3、Choose the “ZFS管理” to get into the ZFS management interface.
4、Choose the “创建存储池” to create a new pool.
5、Name the pool, choose redundancy level, and create the pool with the guide. There, I use an U disk to create a pool. Of course, you can make a pool with files.
5 #format –e -------------See the name of my U disk.
My U disk name is c4t0d0.
#zpool create dh c4t0d0 ---------------Create a pool which is named "dh".
6、To see the pool and the file system that have been created.
7、We can create the new data set in the appointed pool with the Web Console.
8、Define the file system that we will create. there, I create a sub file system with the name "Tonsen" below the file syetem whose name is "dh". in fact, "Tonsen" is my English name, and "dh" my Chinese name for short. \^-\^
9、Set the mountpoint for the file system. In the ZFS, if we set the mountpoint, the file system will be mounted automatically.
10、Set the quota and reservation for the file system.
11、Set other attributes for the file system.
12、 Check the setting that you made.
13、We can also see the commands about the setting that we done with the Web console.
14、Open a terminal, type the command to check the pool and zfs.
the Chinese blog site: