NFS storage issue

  • Thread starter Thread starter coucou78
  • Start date Start date
C

coucou78

Guest
hi,

i'm new to proxmox.

Installation went without issue (usb stick way), but all local storage were not detected (perhaps i need to enter CLI and do fdsik, LVM etc.).

And when i try to mount via web interface nfs remote share (exported via mac os x server) i can add the definition but when i try to diplsay content i receive :

"mkdir /mnt/pve/net_isos/template: Read-only file system at /usr/share/perl5/PVE/Storage/Plugin.pm line 575 (500)"

must i need to adjust UId (or nfs mount options) in the /etc/pve/storage.cfg ?

have a good day
 
check http://pve.proxmox.com/wiki/Storage_Model

on your NFS servers, you need to allow root read/write access as the Proxmox VE system needs to create directories and files.
Ok, so there's only CLI for adding LVM etc. (i used to work with vcenter, but i'm linux expert so ;-)) ("LVM Groups with Local Backing ...")

hum, RW ? i don't like that ... i will give it a try with rw.

thank you
 
hum i 'm reading Wiki :

in this chapter :
[h=3]HowTo mount a Windows (SaMBa) share on Proxmox VE via /etc/fstab[/h]

i strongly suggest to use the SMB (mount) option "credentials" in the /etc/fstab
because this is a huge security hole to leave credentials in fstab :

can we modify the wiki ?


nano /etc/fstab //windows-or-samba-server-name/sharename /mnt/samba1 cifs username=yourusername,password=yoursecretpassword,domain=yourdomainname 0 0replace with : //windows-or-samba-server-name/sharename /mnt/samba1 cifs credentials=/etc/samba/cred_mount01.pwd,domain=yourdomainname 0 0


and this file with a chmod 400 :

cat /etc/samba/cred_mount01.pwd

username=yourusername
password=youpass
 

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!