Search results

  1. P

    Debian 12 LXC Image problem

    Hi. Unofficial solution. From this post, but slightly edited - https://forum.proxmox.com/threads/looking-for-rootfs-tar-xz.108821/post-564530 There is no file /etc/network/interfaces. rootfs from https://jenkins.linuxcontainers.org/job/image-debian/ use systemd-networkd as network settins...
  2. P

    Backup: ERROR: unable to find configuration file for VM

    Hi. I have the same issue on CIFS storage during the backup process.
  3. P

    OpenMediaVault installation in LXC with attached HW block device

    Hi. To correctly mount inside container any block device you need at least two devices: - "physical" device (/dev/sda for example) - "partitioned and fs-formatted" device of the mentioned above "physical" device (/dev/sda1 for example). Do you have /dev/sdc and /dev/sdc1 in container?
  4. P

    OpenMediaVault installation in LXC with attached HW block device

    Hi. And what is about /dev/sdb1 and /dev/sdc1 inside container /dev ?
  5. P

    OpenMediaVault installation in LXC with attached HW block device

    Hi. To add /dev/fuse to a container you need additional line in mount-hook.sh ... mknod -m 777 ${LXC_ROOTFS_MOUNT}/dev/fuse c 10 229 ... let me show: ls -la /dev/sd* from yours proxmox and also: ls -la /dev/sd* inside container
  6. P

    OpenMediaVault installation in LXC with attached HW block device

    UPDATE for installation of OMV into LXC container. 1. Install OpenMediaVault NAS into Debian 9 LXC container on ProxmoxVE server with hardware RAID controller card. 2. Provide to OpenMediaVault in LXC container as a storage LSI MegaRAID RAID1 - /dev/sda1. 3. Also continue to use /dev/sda1 as a...
  7. P

    OpenMediaVault installation in LXC with attached HW block device

    hi. This weekend I'll update my first post to help you to solve all the issues. Please wait for a while :-)
  8. P

    OpenMediaVault installation in LXC with attached HW block device

    It seems to me that this is not a good idea to format and mount any partition inside lxc container. lxc has only minimal /dev. When you creating any new lxc container, the host script create and format it by itself, there is no fsck or other partition tools inside lxc. On my host /dev/dm-0 is...
  9. P

    OpenMediaVault installation in LXC with attached HW block device

    hi. Simply change to this lines in container's conf: Don't forget to comment all mount options in fstab of container after. This should be enough.
  10. P

    OpenMediaVault installation in LXC with attached HW block device

    Hi. Described below steps notes that you has: 1. mounted /dev/sdb1 to /mnt/dane2 on the host machine with ext4 file system type; 2. mounted /dev/sdc1 to /mnt/dane1 on the host machine with ext4 file system type; 3. OpenMediaVault container has id = 100 on the host. After you installed OMV in...
  11. P

    OpenMediaVault installation in LXC with attached HW block device

    Hi. Hi. You can use any drive name in non-aphanumeric order. you should use only block devices type via mknod. you can provide via such hook an lvm volume also. You can format drive via OMV or via host - as you like.
  12. P

    OpenMediaVault installation in LXC with attached HW block device

    ok. let me know about it. Don't use latest debian stretch images from linuxcontainers.org - it has poor status (not booting). Are you trying omv v4 ?
  13. P

    OpenMediaVault installation in LXC with attached HW block device

    Hi. The main idea of my manipulations is like this: Container can't mount correctly due to limitations of lxc. so, you can mount all needed partions via lxc.mount in config. But OMV uses many configs (not only via fstab). So after you mknodes (/dev/sd*) in OMV lxc, you should mount file system...
  14. P

    OpenMediaVault installation in LXC with attached HW block device

    Done. ... 1. comment lines with: lxc.mount.entry: /media/dane1 srv/sdc1 none bind,create=dir,optional 0 0 lxc.mount.entry: /media/dane2 srv/sdb1 none bind,create=dir,optional 0 0 in /etc/pve/lxc/<lxc_num>.conf on Proxmox server 2. restart container 3. check in containers /etc/fstab that there is...
  15. P

    OpenMediaVault installation in LXC with attached HW block device

    hi. Tomorrow I'll make a fresh installation of latest omv and report you about it. maybe something changed in omv core.
  16. P

    OpenMediaVault installation in LXC with attached HW block device

    seems to be ok. Did you mount in OMV gui listed above file systems?
  17. P

    OpenMediaVault installation in LXC with attached HW block device

    let you show me your hdd's. I need full output of this command: ls -la /dev/sd*
  18. P

    OpenMediaVault installation in LXC with attached HW block device

    OMV changed pathnames. you should use: .... xc.mount.entry: /media/dane1 srv/sda1 none bind,create=dir,optional 0 0 lxc.mount.entry: /media/dane2 srv/sdb1 none bind,create=dir,optional 0 0 .... if "/media/dane1" mounted via hook as "sda" and "sda1" and "/media/dane2" mounted via hook as "sdb"...
  19. P

    OpenMediaVault installation in LXC with attached HW block device

    Hi. Did you added something like this line: .... lxc.mount.entry: /raid srv/dev-sdb1 none bind,create=dir,optional 0 0 .... to the container conf file. Seems that you forget to add lxc.mount.entry and OMV trying to mount inside container. But mount operations is impossible. You should mount...
  20. P

    OpenMediaVault installation in LXC with attached HW block device

    Hi. You didn't created via hook correctly /dev/sd* If you need to attach /dev/sdb2 and /dev/sdc2, you should attach: /dev/sdb /dev/sdb1 /dev/sdb2 /dev/sdc /dev/sdc1 /dev/sdc2 <container_id>.conf ..... lxc.cgroup.devices.allow: b 8:16 rwm lxc.cgroup.devices.allow: b 8:17 rwm...

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!