Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PXE and root mount options
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
lukjel_op
n00b
n00b


Joined: 30 Oct 2004
Posts: 54

PostPosted: Wed Feb 06, 2008 8:01 am    Post subject: PXE and root mount options Reply with quote

Hi!

I have diskless (or rather - rootless - I want to share the same root file system with many exactly the same computers - only home is rw, and of course some others - please take a look) station which is booted by pxe. It starts ok, but when I run:
Code:
mount

I see root partition is mounted with some strange parameters:
Code:

rootfs on / type rootfs (rw)
/dev/root on / type nfs (ro,vers=2,rsize=4096,wsize=4096,hard,nolock,proto=udp,timeo=11,retrans=2,sec=sys,addr=192.168.1.19)
proc on /proc type proc (rw,nosuid,nodev,noexec)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw,nosuid,noexec)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec)
/dev/sda5 on /var type reiserfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw)
tmpfs on /root type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw,nosuid,noexec)
192.168.64.1:/home on /home type nfs (rw,noatime,vers=3,rsize=32768,wsize=32768,hard,proto=tcp,timeo=600,retrans=2,sec=sys,addr=192.168.64.1)

(I have two ethernet cards and two "networks" - one is 192.168.1.x and second is 192.168.64.x - so this is ok).
It looks very strange for me. I need locking and I want to use newer version of nfs, maybe also increase rsize (wsize not needed - this is read only...).
This is my pxelinux.cfg/default file:
Code:

DEFAULT kernel-devel-x86-2.6.23-gentoo-r3
APPEND ip=dhcp root=/dev/nfs ro nfsroot=192.168.1.19:/var/diskless/devel


And this is my fstab file:
Code:

192.168.1.19:/var/diskless/devel /              nfs     noauto,ro,async,rsize=16384     0 0
192.168.64.1:/home               /home          nfs     defaults,noatime,async,rsize=32768,wsize=32768  0 0
proc            /proc           proc            defaults        0 0
shm             /dev/shm        tmpfs           nodev,nosuid,noexec     0 0
/dev/sda5       /var            reiserfs        defaults,noatime        0 0
tmpfs           /tmp            tmpfs           rw      0 0
tmpfs           /root           tmpfs           rw      0 0

What should I do?

Any ideas?

Regards
L.
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Thu Feb 07, 2008 1:46 am    Post subject: Reply with quote

Moved from Networking & Security to Duplicate Threads, cross posted elsewhere.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum