Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jul 2010 22:36:06 +0300
From:      Mike Barnard <mike.barnardq@gmail.com>
To:        glarkin@freebsd.org
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: /usr/local empty after upgrade
Message-ID:  <AANLkTin5FszGSkL282lJk6E7XutjVBJ3fToT0Cuu6HNx@mail.gmail.com>
In-Reply-To: <4C333FC8.20802@FreeBSD.org>
References:  <AANLkTimVWQ2MpV6C5BlgjYxb0Cv9NqgAxrPDZRbL8lCT@mail.gmail.com> <4C333FC8.20802@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Greg,

Please see your request below

> Hi Mike,
>
> It's possible that your disk device names changed during the upgrade and
> /etc/fstab can no longer mount the previous device on /usr/local.  Do
> you see any error messages during the boot process?
>
>
no, I do not see any error during the boot process.


> Please reply to the list with the output from the following commands:
>
> ls -l /dev/da*  # Assuming SCSI disks
>
crw-r-----  1 root  operator    0,  94 Jul  6 16:50 /dev/da0
crw-r-----  1 root  operator    0,  96 Jul  6 16:50 /dev/da0s1
crw-r-----  1 root  operator    0,  97 Jul  6 19:50 /dev/da0s1a
crw-r-----  1 root  operator    0,  98 Jul  6 16:50 /dev/da0s1b
crw-r-----  1 root  operator    0,  99 Jul  6 19:50 /dev/da0s1d
crw-r-----  1 root  operator    0, 100 Jul  6 19:50 /dev/da0s1e
crw-r-----  1 root  operator    0, 101 Jul  6 16:50 /dev/da0s1f
crw-r-----  1 root  operator    0, 106 Jul  6 19:50 /dev/da0s1f.journal
crw-r-----  1 root  operator    0, 102 Jul  6 16:50 /dev/da0s1g
crw-r-----  1 root  operator    0, 107 Jul  6 19:50 /dev/da0s1g.journal


> cat /etc/fstab
>
# Device                Mountpoint      FStype  Options         Dump
 Pass#
/dev/da0s1b             none            swap    sw              0       0
/dev/da0s1a             /               ufs     rw              1       1
/dev/da0s1g.journal     /resource           ufs     rw,async        2
2
/dev/da0s1e             /tmp            ufs     rw              2       2
/dev/da0s1f.journal     /usr            ufs     rw,async        2       2
/dev/da0s1d             /var            ufs     rw              2       2
/dev/acd0               /cdrom          cd9660  ro,noauto       0       0


>
> That information may help figure out what happened to the devices during
> the upgrade.
>
>
unless I got the journaling wrong, the fstab and devices should work fine.


Regards,

-- 
Mike

Of course, you might discount this possibility, but remember that one in
a million chances happen 99% of the time.
------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTin5FszGSkL282lJk6E7XutjVBJ3fToT0Cuu6HNx>