Re: [vserver] Oddity with df

From: Phil Daws <uxbod_at_splatnix.net>
Date: Tue 15 May 2012 - 20:02:38 BST
Message-ID: <150723083.426123.1337108557959.JavaMail.root@splatnix.net>

Hi Herbert,

Agreed. I shutdown the guest and then ran a simple script which cat /vservers/guest/etc/mtab into another file. I then started the guest and checked the log file for hdv1 and saw:

/dev/hdv1 / ufs defaults 0 0
none /proc proc defaults 0 0
none /tmp tmpfs size=128m,mode=1777,nosuid,nodev,noexec 0 0
none /dev/pts devpts gid=5,mode=620 0 0

then I bit further down it changed too:

none / none rw 0 0

Oh this is going to be a real pain to track down as I do not see anything in /etc/init.d or the upstart configuration files :(

-- 
Thanks, Phil
----- Original Message -----
> On Tue, May 15, 2012 at 07:37:34PM +0100, Phil Daws wrote:
> > Hi Herbert,
> 
> > When you mentioned about the debug option I did look through it
> > and checked that file:
> 
> > [root@testvserver01 ~]# cat /lib/util-vserver/defaults/mtab
> > /dev/hdv1 / ufs defaults 0 0
> 
> > I also checked the other ones in the findObject call and they
> > did not exist. Strange eh ?
> 
> not at all, just means that my original assumption is correct
> and something _inside_ your guest removes the file on startup
> 
> HTH,
> Herbert
> 
> > --
> > Thanks, Phil
> 
> > ----- Original Message -----
> >> On Tue, May 15, 2012 at 06:48:47PM +0100, Phil Daws wrote:
> >>> Hi Herbert,
> 
> >>> Here is the debug file.
> 
> >> so, what does your /lib/util-vserver/defaults/mtab contain?
> 
> >> best,
> >> Herbert
> 
> >>> --
> >>> Thanks, Phil
> 
> >>> ----- Original Message -----
> >>>> On Tue, May 15, 2012 at 06:03:34PM +0100, Phil Daws wrote:
> >>>>> Hi Herbert,
> 
> >>>>> Not that I am aware of. Using the scientific image I built a
> >>>>> CentOS6 one and changed the repo URLs. That is all which has
> >>>>> been done.
> 
> >>>> well, the guest's mtab is written by util-vserver, so the
> >>>> version would be interesting, also mtab can be overridden
> >>>> by guest config entries (default and guest specific) which
> >>>> might be the case here as well, finally a --debug guest
> >>>> start might shed some light on this issue ...
> 
> >>>> best,
> >>>> Herbert
> 
> >>>>> --
> >>>>> Thanks, Phil
> 
> >>>>> ----- Original Message -----
> >>>>>> On Tue, May 15, 2012 at 05:51:13PM +0100, Phil Daws wrote:
> >>>>>>> Hmmm, trawling around it would appear I should see something
> >>>>>>> like /dev/hdv1 / ext2 rw 0 0 in /etc/mtab. If I check and
> >>>>>>> older
> >>>>>>> vserver system I do see that but not on the latest release.
> >>>>>>> Has something changed in util-vserver where that does not
> >>>>>>> automatically get added now ?
> 
> >>>>>> IIRC, newer systems switched to /etc/mtab being a link
> >>>>>> to /proc/mounts (which should work fine) so maybe your
> >>>>>> setup removes/clears out /etc/mtab inside the guest?
> 
> >>>>>>> --
> >>>>>>> Thanks, Phil
> 
> >>>>>>> ----- Original Message -----
> 
> >>>>>>>> Hello,
> 
> >>>>>>>> within our test lab I am trying out 3.2.15-vs2.3.2.8 and a
> >>>>>>>> few CentOS6 clients. Now that the upstart issues have been
> >>>>>>>> resolved all are looking pretty good. One oddity I have
> >>>>>>>> noticed is that when I perform a 'df' from within a guest
> >>>>>>>> the
> >>>>>>>> response is:
> 
> >>>>>>>> df: no file systems processed
> 
> >>>>>>>> is there a new capability flag I am missing ?
> 
> >>>>>> not that I know of ...
> 
> >>>>>> best,
> >>>>>> Herbert
> 
> >>>>>>>> --
> >>>>>>>> Thanks, Phil
Received on Tue May 15 20:02:57 2012
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 15 May 2012 - 20:02:57 BST by hypermail 2.1.8