Pvebash: Difference between revisions

From Proxmox VE
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
* Traversing an OpenVZ container (including non bootable ones) in Proxmox VE 3.4 and earlier can be done using the `/usr/bin/`'''[[Media:pvebash.png|pvebash]]''' script '''chmod'''ded to 755.
{{Note|Any externally linked script/software was '''not''' vetted by Proxmox developers and we recommend checking yourself before running anything as root. If you still use very old and EOL releases like Proxmox VE 3.4 we recommend to [[:Category:Upgrade|Upgrade]] as soon as possible! |warn}}
 
* Traversing an OpenVZ container (including non bootable ones) in Proxmox VE 3.4 and earlier can be done using the <tt>/usr/bin/</tt>'''[[Media:pvebash.png|pvebash]]''' script '''chmod'''ded to 755.
* When migrating OpenVZ containers to the new LXC container ecosystem, the said `pvebash <CTID> private` can be used to set it right at the outset.
* When migrating OpenVZ containers to the new LXC container ecosystem, the said `pvebash <CTID> private` can be used to set it right at the outset.


* In LXC, there may be some script like OpenVZ's '''[https://github.com/mav3r10k/Proxmox/blob/main/proxbash.sh Proxbash]''' that does nearly the same work.
* [https://forum.proxmox.com/threads/mounting-lxc-raw-images.115451/ Mounting a LXC raw image to rootfs]
* [https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_obtaining_debugging_logs LXC Debugging Documentation]
* Since [https://forum.proxmox.com/threads/pve-4-1-wheres-lxc-rootfs.25647/post-128535 2016]: LXC hides the container mount namespace from the host, so you cannot see the '''rootfs''' (unless you use '''ZFS'''). We plan to implement some helper commands to make it easier to copy files from/to containers. Also see [https://forum.proxmox.com/threads/does-proxmox-support-lxc-dir-backend.98486/post-425822 this post] where '''pct mount/push/pull''' exist or use '''ZFS'''.


[[Category: Proxmox_VE_3.x]]
[[Category: Proxmox_VE_3.x]]

Latest revision as of 14:21, 31 May 2023

Yellowpin.svg Note: Any externally linked script/software was not vetted by Proxmox developers and we recommend checking yourself before running anything as root. If you still use very old and EOL releases like Proxmox VE 3.4 we recommend to Upgrade as soon as possible!
  • Traversing an OpenVZ container (including non bootable ones) in Proxmox VE 3.4 and earlier can be done using the /usr/bin/pvebash script chmodded to 755.
  • When migrating OpenVZ containers to the new LXC container ecosystem, the said `pvebash <CTID> private` can be used to set it right at the outset.
  • In LXC, there may be some script like OpenVZ's Proxbash that does nearly the same work.
  • Since 2016: LXC hides the container mount namespace from the host, so you cannot see the rootfs (unless you use ZFS). We plan to implement some helper commands to make it easier to copy files from/to containers. Also see this post where pct mount/push/pull exist or use ZFS.