Re: 5.3-Beta7 diskless boot: it boots but has empty /var (on /dev/md1) !?

From: Ryan Sommers (ryans_at_gamersimpact.com)
Date: 10/17/04

  • Next message: Kevin Oberman: "Re: Any chance to get my sound card to work ?"
    Date: Sat, 16 Oct 2004 22:45:18 -0500
    To: Rob <spamrefuse@yahoo.com>
    
    

    Rob wrote:

    > However, on the diskless PC, /var is on a memory
    > disk, but that directory is completely empty:
    >
    > disklessPC# ls -a /var
    > . .. .snap
    >
    > disklessPC# mount
    > 192.168.123.254:/ on / (nfs, read-only)
    > devfs on /dev (devfs, local)
    > /dev/md0 on /etc (ufs, local, soft-updates)
    > procfs on /proc (procfs, local)
    > /dev/md1 on /var (ufs, local, soft-updates)
    > 192.168.123.254:/usr on /usr (nfs, read-only)
    > 192.168.123.254:/home on /home (nfs)
    > /dev/md2 on /tmp (ufs, local, soft-updates)
    >
    > This has serious consequences on the diskless PC.
    > For example, sshd cannot start because /var/empty
    > is not there. There is no information in /var/run,
    > /var/log etc.
    >
    > Is something missing in the /etc/rc.d/initdiskless script,
    > or have I forgotten something?
    >
    > Thanks,
    > Rob.

    The /var memory disk needs to be populated with a base structure. This
    is handled in initdiskless by templates (see
    /etc/rc.d/initdiskless:285). You can either have them as subdirectories
    in your /conf/ or as dir.cpio.gz cpio'gzip archives that are then extracted.

    -- 
    Ryan Sommers
    ryans@gamersimpact.com
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Kevin Oberman: "Re: Any chance to get my sound card to work ?"

    Relevant Pages

    • Adding a FAT32 Hard Drive to XP Machine
      ... There are no drive letters assigned and the disk ... will not mount or show up in My Computer. ... Rob ... Prev by Date: ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: HELP UPDATE KB832880 wont install
      ... I've even downloaded site server 2.0 from MS and tried that with no joy. ... I've ordered a new disk 3 so will wait 5-8 weeks for that to be delivered. ... Rob ... >> Yes i'm logged on with admin account, ...
      (microsoft.public.backoffice.smallbiz)
    • Re: HELP UPDATE KB832880 wont install
      ... I've even downloaded site server 2.0 from MS and tried that with no joy. ... I've ordered a new disk 3 so will wait 5-8 weeks for that to be delivered. ... Rob ... >> Yes i'm logged on with admin account, ...
      (microsoft.public.backoffice.smallbiz2000)
    • Re: Data backup
      ... On Sat, 09 May 2009 12:07:53 GMT, Rob ... space' error on my Mac Mini. ... That's not a problem - it's only a warning that it's having to bin ... a 500GB disk. ...
      (uk.comp.sys.mac)