![]() However, using the pvesm command works perfectly.Trying to add that share spits out an error: create storage failed: error during cfs-locked 'file-storage_cfg' operation: storage 'usb-key' is not online (500).The share I created for my USB Drive comes up as "USB" not "Josh's USB". It seems the Proxmox WebUI does not like shares with spaces in their name.I decided to change course and try to add CIFS storage via the Proxmox WebUI.The error: mount: /etc/fstab: parse error at line 1 - ignored.Note: I get an error when I enter the command mount -a with the above in my /etc/fstab."//192.168.0.x/Josh's USB" /mnt/drives/usb2C-key/ cifs _netdev,tomount,x-systemd.requires=network-online.target,uid=x,gid=x,username=x,password=x,vers=3.0,iocharset=utf8 0 0.Unless I'm missing something and the Samba server /etc/fstab really is where you add the entries. Since it doesn't, this makes mounting shares to my LXCs 100x more tedious since I would have to edit /etc/fstab for every LXC and add an entry for every mount I want to share. I was hoping that adding the entry to the Samba LXC /etc/fstab would work, but it does not.The mounted share on the Plex LXC disappears after reboot of LXC/server because I do not have an /etc/fstab entry.Successfully mount the USB Drive share that is mounted on the Samba LXC to the Plex LXC using the following command:.I can see all the shares I created on the smb LXC by typing smbclient -L.Installed smbclient and cifs-utils on my Plex LXC.Created a privileged LXC for Plex Media Server.This USB Drive is now visible on my Windows PC from my Proxmox box.Mounted that USB Drive onto the Samba LXC and created a share for the whole drive.Created a privileged LXC and installed Samba on that LXC.Added the USB Drive to /etc/fstab so that it would auto mount.Mounted an NTFS USB Flash Drive to my host node.I checked every LXC with ntfs-3g -version and it looks like its installed on every LXC as well as the host node?.Any USB Drives I plug in, regardless of format (most likely NTFS for compatibility with Windows and other devices) must be 'plug and play'.I will be reformating these SATA HDDs to ext4 at some point in the future once I get a 6th HDD and am able to move files off them.All 5 of my internal NTFS HDDs displayed in Proxmox and accessible by my host node, all my LXCs as well as the machines on my local network.While I've been largely successful at setting up the rest of my server, setting up my storage the way I want has been a huge challenge. Over the last week or so, I've been trying to setup my storage (among other things). Hi everyone, new to Proxmox and Linux as a whole.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |