Score:0

Assigning hard disks directly from the pool vs syncing back to zfs/block host

ธง za

What are the specific pros and cons, perhaps even conventions, of attaching a volume to a VM directly from a proxmox zfs pool VS mounting the volume through a file/block storage solution like TrueNAS (which is running inside a VM)?

I have a proxmox server with several VMs, one of them running TrueNAS and another running Linux with all my docker instances (others running various services)

The idea of running absolutely all file/block management for docker-centric VMs (and other files related to other VMs) through TrueNAS is appealing to me but I'm not entirely sure if this is just viewing everything as a nail with TrueNAS as the hammer. It's running on the same hardware, so really less of a concern than perhaps when running TrueNAS on dedicated hardware or even within a proxmox datacenter spread across several nodes.

The alternative is simply creating another hard disk from a zfs pool and attaching directly to a VM. Is this considered uncouth given the option to use TrueNAS?

I feel like migration would become less clean by attaching it directly and not taking advantage of TrueNAS, as from what I have learnt so far in this journey into server: as much persistent storage as can be possibly detached from the core running VM, should be.

EDIT: in the case of docker instances, this would not be storage for dependancy of service, rather storing things like user content and other non-ephemeral data.

us flag
ขึ้นอยู่กับความต้องการของคุณ การเพิ่ม TrueNAS เป็นเลเยอร์ระหว่าง ZFS และ VM จริงจะเพิ่มโอเวอร์เฮดในการเข้าถึงระบบไฟล์ ดังนั้นจึงมีผลกระทบต่อประสิทธิภาพการทำงาน คุณต้องวัดผลประสิทธิภาพการทำงานด้วยปริมาณงานของคุณ ถ้าค่าโสหุ้ยนั้นยอมรับได้
BitShift avatar
za flag
@TeroKilkanen ใช่ นั่นเป็นสิ่งเดียวที่ผมคิดได้เช่นกันจะมีค่าโสหุ้ยอยู่บ้าง แต่รู้สึกว่าจัดการบล็อกผ่าน TrueNAS จาก mobility pov ได้ดีกว่ามาก แต่เมื่อฉันเริ่มทำหลายๆ โหนด ฉันควรจะย้ายไปที่ ceph จริงๆ ข้อได้เปรียบเดียวที่ฉันเห็นคือจาก pov การจัดการกับนักเทียบท่า VM ฯลฯ ...

โพสต์คำตอบ

คนส่วนใหญ่ไม่เข้าใจว่าการถามคำถามมากมายจะปลดล็อกการเรียนรู้และปรับปรุงความสัมพันธ์ระหว่างบุคคล ตัวอย่างเช่น ในการศึกษาของ Alison แม้ว่าผู้คนจะจำได้อย่างแม่นยำว่ามีคำถามกี่ข้อที่ถูกถามในการสนทนา แต่พวกเขาไม่เข้าใจความเชื่อมโยงระหว่างคำถามและความชอบ จากการศึกษาทั้ง 4 เรื่องที่ผู้เข้าร่วมมีส่วนร่วมในการสนทนาด้วยตนเองหรืออ่านบันทึกการสนทนาของผู้อื่น ผู้คนมักไม่ตระหนักว่าการถามคำถามจะมีอิทธิพลหรือมีอิทธิพลต่อระดับมิตรภาพระหว่างผู้สนทนา