configuration questions

  • Thread starter Thread starter Deleted member 41790
  • Start date Start date
D

Deleted member 41790

Guest
Hi everyone,
I'm new on Proxmox and I've got a few questions about my configuration.
I've bought a dell t20 with a Xeon and add a SSD Plus Sandisk SSD 240Gb for proxmox and 2*6tb Seagate Ironwolf distribute as follow:

With a picture:

proxmox.png
( I'm not going to use OpenVZ so I've unset "Container template" and "Container". I'm right ? )

So now I've got OMV running on "local-data" and I would like to have a subdirectory of my btrfs raid1 (/data/medias) be mounted on OMV.
I've seen some solutions:
  1. put a entire disk (/dev/sdX) directly to the VM
  2. set a NFS storage
  3. use my btrfs raid as not only "ISO Image" but also "Disk Image" and add a disk to OMV
but

  1. solution didn't work for me. I think that a VM cannot use a disk already setup. And even if I can make it work, I would like that Proxmox handle
  2. It's not my favorite because i'd like to set proxmox only as proxmox, and not also sharing data...
  3. I think the best for me but I'm not sure.

Otherwise, is there an other solution for me ?

data tree:
Code:
root@proxmox:/data# tree
.
├── dump
├── images
├── medias
│   └── videos
│       └── bbb_sunflower_2160p_30fps_stereo_abl.mp4
└── template
    └── iso
        ├── backbox-4.6-amd64.iso
        ├── cyborg-hawk-linux-v-1.1.iso
        ├── debian-8.5.0-amd64-netinst.iso
         ................

/etc/fstab (Am I right with the options, specially for the SSD ?)
Code:
root@proxmox:/data# cat /etc/fstab
# <file system> <mount point> <type> <options> <dump> <pass>

## ROOT
/dev/pve/root / ext4 errors=remount-ro,discard,relatime 0 1

## UEFI
UUID=AC77-969F /boot/efi vfat defaults,discard,relatime 0 1

## SWAP
/dev/pve/swap none swap sw,discard 0 0

## PROC
proc /proc proc defaults 0 0

## DATA
UUID=c074e1d0-9f89-4bc2-b6e2-ea94d7b4aa85 /data/ btrfs defaults,nodatacow,autodefrag,noatime   0       0

## TMPFS
tmpfs    /tmp            tmpfs    defaults,size=2g        0    0
tmpfs    /var/cache/apt/archives    tmpfs    defaults,size=2g        0    0

Thanks in advance !
 
So now I've got OMV running on "local-data" and I would like to have a subdirectory of my btrfs raid1 (/data/medias) be mounted on OMV.
I've seen some solutions:
  1. put a entire disk (/dev/sdX) directly to the VM
  2. set a NFS storage
  3. use my btrfs raid as not only "ISO Image" but also "Disk Image" and add a disk to OMV

If you would use LXC (not OpenVZ), you could share a directory, for KVM it does not work without some manual intervention (e.g. share via network or with qemu's own sharing of directories).

Why have you setup btrfs and not zfs? btrfs is still not marked as stable. Also, why do you use two disks (obviously in raid, right?) for data and not for your system?