Hi Angelo,
Before embarking on such exercise, what are your objectives?
Permanently mounting an USB-hard-drive could be useful, but is does have its drawbacks
I would only suggest it if the main drives (internally) have a problem with capacity or so, and even then only as a temporary stop-gap.
From performance point of view, USB-drives can be a major PITA, impacting overall system performance.
And with regards to “Security purpose” ($subject) it is pointless:
In case of fire, water, power-spikes, theft… (you name it) both your system AND the USB-drive will be lost.
And also, the HDD inside a usb-drive are seldom intended for 24/7 usage; neither the PSU that comes along (personal experience)
I’ve seen commercial desktops lasting much longer than USB-drives.
I would suggest to look at a NAS-box or turning some simple machines into CEPH-data-nodes, with all the usual precautions
(other room/building, different locks, other power-source, UPS, ect etc)
If you are serious about “Security”, try to avoid to allude yourself with false feelings.
USB-drives are very handy devices, but for a limited scope: for a quick backup/restore, test-installation or data migration
From: users-bounces@xxxxxxxxxxxxxxxxxxxxxxx [mailto:users-bounces@xxxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Angelo Moreschini
Sent: maandag 20 oktober 2014 10:48
To: users@xxxxxxxxxxxxxxxxxxxxxxx
Subject: Permanently mount a USB Hard Disk for Security purpose
Hi,
for the first time I have to solve this kind of problem, that's way I would like to ask for some advice how to make correctly the installation of a "permanent" USB hard drive to use for saving data ...
The HD in question should have two partitions:
· the first one to be used to synchronize immediately (rsync) important data for backup purposes
· the second one to use, always backup purposes, to make scheduled backups of other type of data.
I think a USB HD should be suitable for this need (backup) for being able easily to remove and immediatly use, the stored data, on another computers.
I think I should first create -on the USB Hard Disk (that I could to use Gparted for this purpose)- two partitions of type MSDOS and then I should format these partitions in FAT32 format:
this is because 'the MSDOS type of partition and format FAT32 should ensure the possibility' of using the data both on Linux and on Windows systems.
Secondly, the HD should be mounted on the computer ... permanently.
Mkdir /media/resqueHD
mount -t fat32 /dev/sdd1 /media/resqueHD
and finally, the mounting should be made permanent by adding the line:
/dev/sdd1
/media/mydata ext4 defaults 0 0
to file /etc/fstab
finally
rsync -av dataToCheck /media/resqueHD/directory
Is this correct... and if it is also convenient to do ?
Thank you
Regards
Angelo