Archlinux pNFS Client Setup

From Linux NFS

Jump to: navigation, search

Contents

Installing Archlinux

Installing pNFS Enabled Archlinux kernel

  • There are three ways of installing a pNFS enabled Archlinux kernel. Through pacman, through the AUR, or by directly downloading.

Pacman

  • Edit /etc/pacman.conf to add the pNFS repository
 [pnfs]
 Server = http://linux-nfs.org/~bjschuma/archlinux/$arch
  • Then install the kernel
 sudo pacman -Sy kernel26-pNFS

AUR

 wget http://aur.archlinux.org/packages/kernel26-pnfs/kernel26-pnfs.tar.gz
  • Extract and compile
 tar -xvf kernel26-pnfs.tar.gz
 cd kernel26-pnfs
 makepkg
  • Install the resulting package using pacman
 sudo pacman -U kernel26-pnfs-*.pkg.tar.xz

Directly Downloading

  • Download the precompiled package from linux-nfs.org
 wget http://linux-nfs.org/~bjschuma/archlinux/i686/kernel26-pNFS-2.6.39.1-1-i686.pkg.tar.xz

or

 wget http://linux-nfs.org/~bjschuma/archlinux/x86_64/kernel26-pNFS-2.6.39.1-1-x86_64.pkg.tar.xz
  • Install package using pacman
 sudo pacman -U kernel26-pnfs-*.pkg.tar.xz

Configure Grub

  • Edit /boot/grub/menu.lst to add the pNFS kernel
    • Replace /dev/vda3 with your root device
 title Arch Linux pNFS
 root
 kernel /vmlinuz26-pnfs root=/dev/vda3 ro
 initrd /kernel26-pnfs.img

 title Arch Linux pNFS Fallback
 root
 kernel /vmlinuz26-pnfs root=/dev/vda3 ro
 initrd /kernel26-pnfs-fallback.img
Personal tools