thorsten
(Thorsten)
July 18, 2018, 8:00pm
1
NethServer Version: 7,5
Module: backup
Hi,
I plugged in a USB-HDD to my Proxmox VE system and assigned the device to the Nethserver VM. After reboot - voila - I can use it for backups
But where is the mount point?
fdisk -l says its is \dev\sdb
I would like to use it for some data, too
THX
Thorsten
mrmarkuz
(Markus Neuberger)
July 18, 2018, 8:29pm
2
Found some threads about integrating new HDD, just add it to /etc/fstab:
If someone is interested. This online translation. Sorry.
I did not mean for LVM to add the new HDD.
But we do know that the Samba share.
In my solution is:
The installation of a HDD.
The HDD has seen sdb1.
fdisk /dev/sdb1
n
1, and the primary partition is created.
w
mkfs.ext4 /dev/sdb1
mkdir /var/lib/nethserver/ibay/sdb1
Then I recorded the /etc/fstab
/dev/sdb1 /var/lib/nethserver/ibay/sdb1 auto defaults,acl,user_xattr 0 0
That works for me without problems.
Follow this:
create new share on web gui e.g newshare
create filesystem:
mkfs.xfs /dev/sdxx (where sdxx is partition on new disk, also can be mdxxx if You’re using raid)
get disk filesystem UUID by:
ls -la /dev/disk/by-uuid/
echo "UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx /var/lib/nethserver/ibay/newshare xfs defaults 0 0" >> /etc/fstab
shutdown -h now
change ownership of new share (in my case initially was root:root)
chown youruser:yourgroup newshare
or re-add sambashare newsha…
thorsten
(Thorsten)
July 19, 2018, 6:09am
3
Hi Markus,
this is not what I meant, sorry for not asking precisely. My question is:
Nethserver recognize the attached HDD well, but I do not find mount mounts where I expepected: /media and /mnt are empty.
danb35
(Dan)
July 19, 2018, 9:47am
4
You need to create the mount point. So, if you want the disk to be mounted at /mnt/usbdisk, do mkdir /mnt/usbdisk
.
dnutan
(Marc)
July 19, 2018, 10:06am
5
The backup module mounts the disk when it needs to, makes the backup and unmounts it.
2 Likes
thorsten
(Thorsten)
July 19, 2018, 4:11pm
6
Thanks, this explains why I did not find it in the mount points …