Article

mwilmsen's picture
article
Reads:

3939

Score:
0
0
 
Comments:

1

NSS on LVM

Author Info

20 July 2010 - 6:32am
Submitted by: mwilmsen

(View Disclaimer)

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


Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

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, test, test before you do anything drastic with it.




User Comments

mpjames's picture

mount isn't permanent

Submitted by mpjames on 18 November 2010 - 2:22pm.

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

© 2013 Novell