Ano-Tech Computers
Enter keyword:

Nexenta: Adding a second hard disk
Problem:
After installing Nexenta Core Platform on harddisk number one, how do I add and share my second hard disk via NFS?
 
Solution:
The second hard disk will usually appear as a raw character device under /dev/rdsk. p0 is the entire drive, p1 is the first partition, p2 is the second etc.:
# fdisk /dev/rdsk/c0d1p0

Now that the second hard drive has been partitioned for use, create a second storage pool to keep separate from the syspool:
# zpool create datapool c0d1p0

Enable deduplication. This is why you installed Nexenta Core in the first place, yes?
# zfs set dedup=on datapool

Share the new storage pool. You may replace "*" with one or more hosts if you want to limit the access:
# share -F nfs -o rw=*,anon=0 /datapool

 
Discuss this solution
Did this article solve your problem? Yes No Did not apply

We welcome anyone who is willing to contribute to this public knowledge base, contact siteadmin@atc.no if you have information you would like to share. The idea is not to replace the commercial support sites, but to publish those hard-to-find solutions you've found yourself looking for over and over again.

Show all articles