RE: Obscure df -h output

2008-08-29 Thread Marc Coyles

 Yes, they did something bizarre.  Ask them why :)
 
 Kris
 ___

Mornin' Kris / list...

Asked them why and they shrugged and said we didn't... So... I
unmounted all the nullfs mounts that it'd allow me to unmount (tmp, dev,
proc and bin were busy) and then rebooted the box to see if they
reappeared. They didn't. Then I had a bit of a ting moment as the
lightbulb 2 above my head flickered into life, and logged in as a
jailed user... Lo and behold, the mounts reappeared. Logged out and
logged back in as my regular user, and the mounts remained.

Should mounts for jail-shells automatically unmount themselves when that
user logs out?? Either way, we know what the issue is, and that it
isn't an issue at all... S'just the joys of letting cPanel do something
for you...!

L8rs!
Marc A Coyles
Horbury School ICT Support Team
Mbl: 07850 518106
Land: 01924 282740 ext 730


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


Re: Obscure df -h output

2008-08-29 Thread Kris Kennaway

Marc Coyles wrote:

Yes, they did something bizarre.  Ask them why :)

Kris
___


Mornin' Kris / list...

Asked them why and they shrugged and said we didn't... So... I
unmounted all the nullfs mounts that it'd allow me to unmount (tmp, dev,
proc and bin were busy) and then rebooted the box to see if they
reappeared. They didn't. Then I had a bit of a ting moment as the
lightbulb 2 above my head flickered into life, and logged in as a
jailed user... Lo and behold, the mounts reappeared. Logged out and
logged back in as my regular user, and the mounts remained.

Should mounts for jail-shells automatically unmount themselves when that
user logs out?? Either way, we know what the issue is, and that it
isn't an issue at all... S'just the joys of letting cPanel do something
for you...!


jail shells and associated nullfs mounts are something you have 
configured locally, so I guess that is what is going wrong.


Kris

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


Re: Obscure df -h output

2008-08-28 Thread Kris Kennaway

Marc Coyles wrote:

One of my servers appears to be having a slightly dippy moment...
Running FREEBSD 5.3-RELEASE-p5 i386 (I don't have the bottle to attempt
freebsd-update to 7.0-REL, altho I really should... Still a relative
newb tho, and not confident on a box I can only access by remote)
running WHM 11.23.2 cPanel 11.23.4-R26157 - I'm seeing some very obscure
results on df -h...

#FilesystemSizeUsed   Avail Capacity  Mounted on
/dev/ad0s1a   1.9G648M1.1G36%/
devfs 1.0K1.0K  0B   100%/dev
/dev/ad0s1g47G 18G 25G42%/home
/dev/ad0s1d   1.9G872K1.8G 0%/tmp
/dev/ad0s1e   9.7G3.5G5.4G40%/usr
/dev/ad0s1f   9.7G2.1G6.8G23%/var
devfs 1.0K1.0K  0B   100%/etc/namedb/dev
procfs4.0K4.0K  0B   100%/proc
/libexec  1.9G648M1.1G36%libexec
/lib  1.9G648M1.1G36%lib
/usr/lib  9.7G3.5G5.4G40%usr/lib
/usr/sbin 9.7G3.5G5.4G40%usr/sbin
/usr/share9.7G3.5G5.4G40%usr/share
/usr/bin  9.7G3.5G5.4G40%usr/bin
/usr/man  9.7G3.5G5.4G40%usr/man
/usr/X11R69.7G3.5G5.4G40%usr/X11R6
/usr/libexec  9.7G3.5G5.4G40%usr/libexec
/usr/local/bin9.7G3.5G5.4G40%usr/local/bin
/usr/local/lib9.7G3.5G5.4G40%usr/local/lib
/var/spool9.7G2.1G6.8G23%var/spool
/var/lib  9.7G2.1G6.8G23%var/lib
/var/run  9.7G2.1G6.8G23%var/run
/var/log  9.7G2.1G6.8G23%var/log
/home/tff  47G 18G 25G42%tff
/tmp  1.9G872K1.8G 0%tmp
/dev  1.0K1.0K  0B   100%dev
/bin  1.9G648M1.1G36%bin
/proc 4.0K4.0K  0B   100%proc


/etc/fstab reads as follows...

# DeviceMountpoint FStype OptionsDump Pass#
/dev/ad0s1b  noneswap   sw  0 0
/dev/ad0s1a  /   ufsrw  1 1
/dev/ad0s1g  /home   ufsrw  2 2
/dev/ad0s1d  /tmpufsrw  2 2
/dev/ad0s1e  /usrufsrw  2 2
/dev/ad0s1f  /varufsrw  2 2
/dev/acd0/cdrom  cd9660 ro,noauto   0 0


Any clues as to what's going on / advice on how to proceed...? This box
crashed last week whilst I was on holiday and appeared to be a brute for
Planet's TechSupport to get back online... Can't find anything in logs
as to why. Am wondering if HDD is a bit unhealthy? There is a spare
drive mounted in the box that I can begin to clone everything on to if
needs be (and have Absolute FreeBSD 2nd Edition and Best of FreeBSD
Basics to hand).


Looks like they did some strange things trying to get it back.  Those 
look like nullfs mounts with the same source and destination, which 
makes no sense.  What does mount -v show you?


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


RE: Obscure df -h output

2008-08-28 Thread Marc Coyles
 Looks like they did some strange things trying to get it back.  Those
 look like nullfs mounts with the same source and destination, which
 makes no sense.  What does mount -v show you?


Hi Kris...

[EMAIL PROTECTED] ~]$ mount -v
/dev/ad0s1a on / (ufs, local, writes: sync 715484 async 362440, reads:
sync 16201 async 86)
devfs on /dev (devfs, local)
/dev/ad0s1g on /home (ufs, local, soft-updates, writes: sync 3879 async
1779995, reads: sync 876702 async 63257)
/dev/ad0s1d on /tmp (ufs, local, soft-updates, writes: sync 23 async
145025, reads: sync 588 async 89)
/dev/ad0s1e on /usr (ufs, local, soft-updates, writes: sync 47 async
874619, reads: sync 495263 async 13857)
/dev/ad0s1f on /var (ufs, local, soft-updates, writes: sync 360454 async
4721936, reads: sync 2557009 async 121766)
devfs on /etc/namedb/dev (devfs, local)
procfs on /proc (procfs, local)
/libexec on libexec (nullfs, local)
/lib on lib (nullfs, local)
/usr/lib on usr/lib (nullfs, local)
/usr/sbin on usr/sbin (nullfs, local)
/usr/share on usr/share (nullfs, local)
/usr/bin on usr/bin (nullfs, local)
/usr/man on usr/man (nullfs, local)
/usr/X11R6 on usr/X11R6 (nullfs, local)
/usr/libexec on usr/libexec (nullfs, local)
/usr/local/bin on usr/local/bin (nullfs, local)
/usr/local/lib on usr/local/lib (nullfs, local)
/var/spool on var/spool (nullfs, local)
/var/lib on var/lib (nullfs, local)
/var/run on var/run (nullfs, local)
/var/log on var/log (nullfs, local)
/home/tff on tff (nullfs, local)
/tmp on tmp (nullfs, local)
/dev on dev (nullfs, local)
/bin on bin (nullfs, local)
/proc on proc (nullfs, local)



Marc A Coyles
Horbury School ICT Support Team
Mbl: 07850 518106
Land: 01924 282740 ext 730



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


Re: Obscure df -h output

2008-08-28 Thread Kris Kennaway

Marc Coyles wrote:

Looks like they did some strange things trying to get it back.  Those
look like nullfs mounts with the same source and destination, which
makes no sense.  What does mount -v show you?



Hi Kris...

[EMAIL PROTECTED] ~]$ mount -v
/dev/ad0s1a on / (ufs, local, writes: sync 715484 async 362440, reads:
sync 16201 async 86)
devfs on /dev (devfs, local)
/dev/ad0s1g on /home (ufs, local, soft-updates, writes: sync 3879 async
1779995, reads: sync 876702 async 63257)
/dev/ad0s1d on /tmp (ufs, local, soft-updates, writes: sync 23 async
145025, reads: sync 588 async 89)
/dev/ad0s1e on /usr (ufs, local, soft-updates, writes: sync 47 async
874619, reads: sync 495263 async 13857)
/dev/ad0s1f on /var (ufs, local, soft-updates, writes: sync 360454 async
4721936, reads: sync 2557009 async 121766)
devfs on /etc/namedb/dev (devfs, local)
procfs on /proc (procfs, local)
/libexec on libexec (nullfs, local)
/lib on lib (nullfs, local)
/usr/lib on usr/lib (nullfs, local)
/usr/sbin on usr/sbin (nullfs, local)
/usr/share on usr/share (nullfs, local)
/usr/bin on usr/bin (nullfs, local)
/usr/man on usr/man (nullfs, local)
/usr/X11R6 on usr/X11R6 (nullfs, local)
/usr/libexec on usr/libexec (nullfs, local)
/usr/local/bin on usr/local/bin (nullfs, local)
/usr/local/lib on usr/local/lib (nullfs, local)
/var/spool on var/spool (nullfs, local)
/var/lib on var/lib (nullfs, local)
/var/run on var/run (nullfs, local)
/var/log on var/log (nullfs, local)
/home/tff on tff (nullfs, local)
/tmp on tmp (nullfs, local)
/dev on dev (nullfs, local)
/bin on bin (nullfs, local)
/proc on proc (nullfs, local)


Yes, they did something bizarre.  Ask them why :)

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