[Users] simfs with ploop?

Devon B. devon.b at virtualcomplete.com
Wed Jan 21 08:11:36 PST 2015


I can't speak as to how to address the issue, but why do you consider it
messed up?  I logged in to a few nodes and saw the same thing on all of
them and I don't remember this being any different in the past.  The
ploop device only exists outside of the container (when mounted). 
Inside the container is just a reference, no actual device exists.

I don't know enough about the original issue, what are you trying to
accomplish with the ploop device inside the container?


> Rene C. <mailto:openvz at dokbua.com>
> Wednesday, January 21, 2015 6:47 AM
> I've gone through all containers and actually some of them work
> correctly, only some are messed up like this.
>
> Take for example this one:
>
> [root at server22 ~]# vzctl restart 2201
> Restarting container
> Stopping container ...
> Container was stopped
> Unmounting file system at /vz/root/2201
> Unmounting device /dev/ploop27939
> Container is unmounted
> Starting container...
> Opening delta /vz/private/2201/root.hdd/root.hdd
> Adding delta dev=/dev/ploop27939
> img=/vz/private/2201/root.hdd/root.hdd (ro)
> Adding delta dev=/dev/ploop27939
> img=/vz/private/2201/root.hdd/root.hdd.{7a09b730-f2d6-4b21-b856-0bd6ca420a6e}
> (rw)
> Mounting /dev/ploop27939p1 at /vz/root/2201 fstype=ext4
> data='balloon_ino=12,'
> Container is mounted
> Adding IP address(es): (redacted)
> Setting CPU limit: 400
> Setting CPU units: 50
> Setting CPUs: 4
> Container start in progress...
>
> So apparently the ploop device should be /dev/ploop/27939. Everything
> seems to work, inside the container this device is referred by
> /proc/mounts
>
> [root at server22 ~]# vzctl exec 2201 cat /proc/mounts
> /dev/ploop27939p1 / ext4
> rw,relatime,barrier=1,data=ordered,balloon_ino=12 0 0
> proc /proc proc rw,relatime 0 0
> sysfs /sys sysfs rw,relatime 0 0
> none /dev tmpfs rw,relatime,mode=755 0 0
> none /dev/pts devpts rw,relatime,mode=600,ptmxmode=000 0 0
> none /proc/sys/fs/binfmt_misc binfmt_misc rw,relatime 0 0
>
> But the device is actually missing:
>
> [root at server22 ~]# vzctl exec 2201 ls -l /dev/ploop27939p1
> ls: /dev/ploop27939p1: No such file or directory
>
> In fact, there doesn't seem to be ANY /dev/ploop devices in this container
>
> [root at server22 ~]# vzctl exec 2201 ls -l /dev/ploop*
> ls: /dev/ploop18940: No such file or directory
> ls: /dev/ploop18940p1: No such file or directory
> ls: /dev/ploop26517: No such file or directory
> ls: /dev/ploop26517p1: No such file or directory
> ls: /dev/ploop27379: No such file or directory
> ls: /dev/ploop27379p1: No such file or directory
> ls: /dev/ploop27939: No such file or directory
> ls: /dev/ploop27939p1: No such file or directory
> ls: /dev/ploop50951: No such file or directory
> ls: /dev/ploop50951p1: No such file or directory
> ls: /dev/ploop52860: No such file or directory
> ls: /dev/ploop52860p1: No such file or directory
> ls: /dev/ploop58415: No such file or directory
> ls: /dev/ploop58415p1: No such file or directory
>
> Why does it shows devices when there are none present?   Obviously
> something is messed up, how can we fix this?
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://lists.openvz.org/mailman/listinfo/users
> Rene C. <mailto:openvz at dokbua.com>
> Tuesday, January 20, 2015 12:04 PM
>
> No takers?
>
>
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://lists.openvz.org/mailman/listinfo/users
> Rene C. <mailto:openvz at dokbua.com>
> Tuesday, January 13, 2015 12:00 PM
> Hm, well I removed the scripts, now I get the error:
>
> repquota: Can't stat() mounted device /dev/ploop50951p1: No such file
> or directory
>
> I don't know if this is related at all, it kinda started after a
> recent update to the latest kernel 2.6.32-042stab102.9
>
> Now if I go into any container on this hardware node, the
> /dev/ploopXXX devices listed in /proc/mount doesn't exist.
>
> For example:
>
> root at vps2202 [~]# cat /proc/mounts
> /dev/ploop50951p1 / ext4
> rw,relatime,barrier=1,stripe=256,data=ordered,balloon_ino=12,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group
> 0 0
> /dev/simfs /backup simfs rw,relatime 0 0
> proc /proc proc rw,relatime 0 0
> none /proc/sys/fs/binfmt_misc binfmt_misc rw,relatime 0 0
> sysfs /sys sysfs rw,relatime 0 0
> none /dev tmpfs rw,relatime,size=7992992k,nr_inodes=1998248 0 0
> none /dev/pts devpts rw,relatime,mode=600,ptmxmode=000 0 0
> root at vps2202 [~]# ll /dev/ploop50951p1
> /bin/ls: /dev/ploop50951p1: No such file or directory
>
> There are quite a few /dev/ploop* devices under /dev, but not the one
> linked in /proc/mounts.  
>
> This goes for all containers on this hardware node.  Other nodes not
> yet upgraded to the latest kernel do not have this problem.
>
> Any ideas?
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://lists.openvz.org/mailman/listinfo/users
> Kir Kolyshkin <mailto:kir at openvz.org>
> Friday, December 26, 2014 6:31 PM
>
>
>
> No, the script (and its appropriate symlinks) is (re)created on every
> start (actually mount)
> of a simfs-based container. It is a conversion process that should get
> rid of it, unfortunately
> vzctl doesn't do it currently, so has to be done manually. Feel free
> to file a bug for vzctl.
>
> Kir.
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://lists.openvz.org/mailman/listinfo/users
> Scott Dowdle <mailto:dowdle at montanalinux.org>
> Friday, December 26, 2014 12:46 PM
> Greetings,
>
> ----- Original Message -----
>
> What I understood Kir to say was that the script was created as part
> of the conversion process and should have been automatically removed
> (like it was automaically created) after the conversion was complete.
> Why it wasn't removed I don't know... but you can back up the file
> somewhere else... and remove it... and if you have problems... you
> could copy it back. I don't think any of that would be necessary but
> who knows.
>
> TYL,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/users/attachments/20150121/fc8699c5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compose-unknown-contact.jpg
Type: image/jpeg
Size: 770 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/users/attachments/20150121/fc8699c5/attachment-0001.jpg>


More information about the Users mailing list