fstab problem?

Sean Dilda agrajag at scyld.com
Fri Jul 13 13:21:56 PDT 2001


On Fri, 13 Jul 2001, Pedro Henrique Ponchio wrote:

> Hello beopeople,
> 
> I´m still fighting with my slave nodes. I run the beofdisk -q and -w,
> but the disks still looks like unpartitioned. Is there any way to build
> the partition skema correctly, using some of the beowulf tools? Or need
> I just create a linux boot disk and run fdisk manually?

You should be able to do it all from beofdisk.  What are you doing
between the 'beofdisk -q' and 'beofdisk -w' ?  I recommend running
'beofdisk -d' to get a good default partition layout, then doing
'beofdisk -w' to write it to the disks.

> 
> Here is my node.0 log:
> 
> node_up: Setting system clock.
> node_up: TODO set interface netmask.
> node_up: Configuring loopback interface.
> setup_fs: Configuring node filesystems...
> setup_fs: Using /etc/beowulf/fstab
> setup_fs: Creating ext2 on /dev/hda1...
> mke2fs 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/hda1 is mounted.
> setup_fs: Mounting /dev/hda1 on /rootfs/beoboot... (type=ext2;
> options=defaults)
> mount: mount point /rootfs/beoboot does not exist
> Failed to mount /dev/hda1 on beoboot.
> 
> And my fstab:
> 
> $RAMDISK        /               ext2    fs_size=40960   0 0

You should have commented this out.  Having two different partitions
you're trying to mount as / is a Bad Thing (tm).


> /dev/hda1       beoboot         ext2    defaults        0 0

You really don't have to mount this partition.  It is written by
beoboot-install which doesn't need it mounted, and only read during
boot.  Also, the fact that you didn't start 'beoboot' with a / is
causing the node_up script to not create a mountpoint for it, which is
causing the maount failure you described.  I recommend just removing
this line.

> /dev/hda2       swap            swap    defaults        0 0
> /dev/hda3       /               ext2    defaults        1 1
> none            /proc           proc    defaults        0 0
> none            /dev/pts        devpts  gid=5,mode=620  0 0
> $MASTER:/home   /home           nfs     defaults        1 2

All of that should be fine, assuming you actually wrote a partition
table to your disk with the partitions you listed here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://www.beowulf.org/pipermail/beowulf/attachments/20010713/f2eafaf5/attachment.sig>


More information about the Beowulf mailing list