Cool Solutions

NSS on LVM



By:

July 20, 2010 7:32 am

Reads: 4268

Comments:1

Score:0

By default you create a NSS pool or volume that are managed by EVMS. EVMS is a disk manager originally developed by IBM.

In 2006 IBM discontinued development of the project. There have been no further releases until now.

Therefor Novell announced in 2008 that they will be moving from EVMS to LVM for NSS.

From OES2 it’s possible to run NSS on LVM with some with some disadvantages:

  • no iManager support
  • no NSS tools that use EVMS (like software RAID and the creation, modifying and deletion of partitions)
  • no NSSMU support (the feature F4 update NDS works!)
  • no Clustering

Advantages of NSS on LVM are:

  • Better support of LVM in Linux
  • Creation of a aligned partition (VMware)

So how can we create a NSS Pool with LVM?

  1. Create a empty (aligned) partition with Yast
  2. Create the NSS Pool

    mkfs -t nsspool -n nsspoolname devname
  3. Create a directory for mounting the NSS Pool

    mkdir /mnt/pooldir
  4. Mount the pool

    mount -t nsspool devname nsspoolmountpoint -o name=nsspoolname
  5. Add the NSS pool to eDirectory

    NSSMU | Pools | F4 (NDS Update)
  6. Add the NSS Pool mountpoint to the fstab file

    devname nsspoolmountpoint nsspool auto,rw,name=nsspoolname

And now the NSS Volume

  1. Create the NSS volume

    mkfs -t nssvol -n nssvolname nsspoolname
  2. Create the mountpoint for the NSS volume

    mdkir /media/nss/nssvolname
  3. Mount the NSS volume on the mountpoint

    mount -t nssvol nssvolname volmountpoint -o name=nssvolname
  4. Update eDirectory

    NSSMU | Volume | F4 (NDS Update)
  5. Add the NSS volume mountpoint to fstab file

    nssvolname nssvolumemountpoint nssvol auto,rw,name=nssvolname

Now you have a NSS Pool and Volume with LVM.

This and more technical articles about VMware and Novell can be found on http://blog.wilmsenit.nl

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Categories: Uncategorized

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

1 Comment

  1. By:mpjames

    It seems that when I reboot the system, I need to remount the pool in nssmu. Can I make the mount point permanent?

    VN:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)

Comment

RSS