Kim,

I use one disk with the following fstab:
proc /proc proc defaults 0 0
/dev/xvda / ext3 noatime,errors=remount-ro,nobarrier 1 2
/dev/xvdc none sw sw,nobarrier 0 0

I want to migrate to the several disks and this fstab:
proc /proc proc defaults 0 0
/dev/xvda / ext3 noatime,errors=remount-ro,nobarrier 0 1
/dev/xvdb /boot ext3 defaults,noatime 0 2
/dev/xvdc none swap sw 0 0
/dev/xvdd /home ext3 rw,nosuid,nodev,noexec,auto,nouser,async 0 2
/dev/xvde /var/tmp ext3 defaults,nodev,nosuid,noexec 0 2
/dev/xvdf /tmp ext3 defaults,nodev,nosuid,noexec 0 2
/dev/xvdg /var/mail ext3 defaults,nodev,nosuid,noexec 0 2
/dev/xvdh /var ext3 defaults,nodev,nosuid 0 2

I tried to plug in the disks and changed my fstab file, but then I got
the following errors:

Mounting local filesystems...mount: mount point /var/tmp does not exist
mount: mount point /var/mail does not exist
failed.
[...]
/etc/init.d/bootmisc.sh: 63: cannot create /var/run/utmp: Directory nonexistent
[...]
startpar: service(s) returned failure: bootmisc.sh ... failed!
[...]
/etc/init.d/bootlogs: 74: cannot create /var/run/motd: Directory nonexistent
/etc/init.d/bootlogs: 74: cannot create /var/run/motd: Directory nonexistent
/etc/init.d/bootlogs: 74: cannot create /var/log/dmesg: Directory nonexistent
chgrp: cannot access `/var/log/dmesg': No such file or directory
Starting enhanced syslogd: rsyslogdCan't open or create /var/run/rsyslogd.pid
Can't write pid
 already started.
Could not create file /var/lib/dbus/machine-id: No such file or directory

Starting periodic command scheduler: cron/var/spool/cron: No such file
or directory
/var/spool/cron: mkdir: No such file or directory
 failed!
[...]

I assume that some step is missing. Should I mount the disks while
using the old version of fstab, then reboot and change fstab
accordingly?

Cheers

_______________________________________________
gNewSense-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/gnewsense-users

Reply via email to