Skrevet av Emne: Nexenta: Adding a second hard disk  (Lest 2942 ganger)

ATC

  • Gjest
Nexenta: Adding a second hard disk
« på: 05. Juni 2010, 10:12 am »
  • [applaud]0
  • [smite]0
  • After installing Nexenta Core Platform on harddisk number one, how do I add and share my second hard disk via NFS?



    ATC

    • Gjest
    [Solved] Nexenta: Adding a second hard disk
    « Svar #1 på: 05. Juni 2010, 10:12 am »
  • [applaud]0
  • [smite]0
  • 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