Re: Disappearing mount point

2008-12-08 Thread Lars Hecking
Lowell Gilbert writes:
> [EMAIL PROTECTED] writes:
> 
> >  I have a really weird problem. After changing the mount point of a Linux
> >  ext3 fs to a different device, the mount point disappears after mounting
> >  and is inaccessible.
[...]
> Did you try an fsck on ad4s8?

 I figured out the problem in the meantime. Not only did I change the device,
 but also rebuild the fs on, and this thread provided me with the solution:

http://forums.freebsd.org/showthread.php?s=eecb9ad9ab9a673778a998ffeef1143f&t=471

 I.e. the default inode size in e2fsprogs changed to 256, so rebuilding the
 fs with an inode size of 128 fixed it.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Disappearing mount point

2008-12-08 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

>  I have a really weird problem. After changing the mount point of a Linux
>  ext3 fs to a different device, the mount point disappears after mounting
>  and is inaccessible.
>
>  Disk layout:
>  ad4s1 Linux ext3
>  ad4s2 FreeBSD
>  ad4s3 Linux ext3
>  ad4s4 ext
>  ad4s5 Linux swap
>  ad4s6 Linux ext3
>  ad4s7 Linux ext3
>  ad4s8 Linux ext3
>
>  Mounting ad4s7 under FreeBSD as
>
> /dev/ad4s7  /gentoo-portage ext2fs  rw  0   0
>
>  Then I moved this data to ad4s8 and changed the fstab entry accordingly:
>
> /dev/ad4s8  /gentoo-portage ext2fs  rw  0   0
>
>  And this happens:
>
> [EMAIL PROTECTED] ~]# cd /
> [EMAIL PROTECTED] /]# ls
> .cshrc cdrom  etcmnttmp
> .profile   compat gentoo-portage proc   usr
> .snap  devhome   rescue var
> COPYRIGHT  dist   libroot
> bindistfiles  libexecsbin
> boot   entropymedia  sys
> [EMAIL PROTECTED] /]# mount /gentoo-portage 
> [EMAIL PROTECTED] /]# df
> Filesystem  1K-blocksUsedAvail Capacity  Mounted on
> /dev/ad4s2a   1012974  345748   58619037%/
> devfs   1   10   100%/dev
> /dev/ad4s2f   1010964   22324   907764 2%/home
> /dev/ad4s2d   4058062  38  3733380 0%/tmp
> /dev/ad4s2e  20308398 6763976 1191975236%/usr
> procfs  4   40   100%/proc
> linprocfs   4   40   100%/usr/compat/linux/proc
> /dev/ad4s89929540 4505212  492390848%/gentoo-portage
> [EMAIL PROTECTED] /]# ls
> ls: gentoo-portage: Bad file descriptor
> .cshrcbin   dev   etc   media root  usr
> .profile  boot  dist  home  mnt   sbin  var
> .snap cdrom distfiles lib   proc  sys   z
> COPYRIGHT compatentropy   libexec   rescuetmp
> [EMAIL PROTECTED] /]# uname -a
> FreeBSD jeanie.my.domain 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #8: Mon Sep  1 
> 09:14:51 IST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/JEANIE  i386
>
>  I changed the filesystem on /dev/ad4s8 to ext2, but the problem persists.
>  No idea what's going on :-/

Did you try an fsck on ad4s8?


-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"