Scyld and fstab for Diskless slaves

David Leunen leunen.d at fsagx.ac.be
Mon Dec 18 02:01:38 PST 2000


> > But I have another prob: How to configure /etc/beowulf/fstab correctly
> > for diskless nodes? I didn't see anything about diskless in the doc.
> 
> For reference, the details of the slave fstab file are in the Beowulf
> install guide bundled with our distribution. To summarize:
> 
> Configuring ramdisks for Scyld Beowulf is straightforward.
> Comment or remove the '/' and 'swap' entries from /etc/beowulf/fstab.
> Create a line which looks like:
> 
> /dev/ram3       /       ext2    fs_size=65536   0 0

Thanks,

I got a	 problem with the ramdisk mounting for a diskless.
I just tried with this /etc/beowulf/fstab:

    /dev/ram1		/		ext2	fs_size=65536	0 0
    none		/proc		proc	defaults	0 0
    none		/dev/pts	devpts	gid=5,mode=620	0 0
    $MASTER:/home	/home		nfs	defaults	0 0

And here is what I got in /var/log/beowulf/node.0:

---------------------------------------------------
node_up: Setting system clock.
mke2fs 1.18, 11-Nov-1999 for EXT2 FS 0.5b, 95/08/09
ext2fs_check_if_mountFilesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
128 inodes, 1024 blocks
51 blocks (4.98%) reserved for the super user
First data block=1
1 block group
8192 blocks per group, 8192 fragments per group
128 inodes per group

Writing inode tables: 0/1
done                            
Writing superblocks and filesystem accounting information: : No such
file or directory while determining whether /dev/ram1 is mounted.

done
node_up: TODO set interface netmask.
node_up: Configuring loopback interface.
setup_fs: Checking /dev/ram1 (type=ext2)...
e2fsck 1.18, 11-Nov-1999 for EXT2 FS 0.5b, 95/08/09
ext2fs_check_if_mount: No such file or directory while determining
whether /dev/ram1 is mounted./dev/ram1 was not cleanly unmounted, check
forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/ram1: 11/128 files (0.0% non-contiguous), 34/1024 blocks


setup_fs: Mounting /dev/ram1 on /rootfs//... (type=ext2;
options=defaults)
mount: /dev/ram1 already mounted or /rootfs// busy
mount: according to mtab, /dev/ram1 is mounted on /tmp
Failed to mount /dev/ram1 on /.

-----------------------------------




More information about the Beowulf mailing list