unable to copy files/videos to some New HD's
How do enable these new drives to receive files/videos
I have had installed 2 new 2 TB drives but am not able copy files/videos too.
I can copy files/videos to external HD OK.
please can you advise.
Thanks
Richard
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Did you partition and format them?
If so, what file system have you used?
What is the output of:
sudo parted -l; lsb_release -a; uname -a; mount
Thanks
Revision history for this message
|
#2 |
richard@
[sudo] password for richard:
Model: ATA KINGSTON SHSS37A (scsi)
Disk /dev/sda: 480GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 525MB 524MB primary ntfs boot
2 525MB 157GB 156GB primary ntfs
3 157GB 319GB 162GB extended lba
5 157GB 311GB 154GB logical ext4
6 311GB 319GB 8469MB logical linux-swap(v1)
Model: ATA WDC WD20PURX-64P (scsi)
Disk /dev/sdb: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1016kB 944GB 944GB extended lba
5 1049kB 524GB 524GB logical ntfs
6 524GB 944GB 419GB logical ext4
2 944GB 2000GB 1057GB primary ext4
Model: ATA WDC WD20PURX-64P (scsi)
Disk /dev/sdc: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 2000GB 2000GB primary ext4
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
Linux richard-H81M-S2H 4.10.0-35-generic #39~16.04.1-Ubuntu SMP Wed Sep 13 09:02:42 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
sysfs on /sys type sysfs (rw,nosuid,
proc on /proc type proc (rw,nosuid,
udev on /dev type devtmpfs (rw,nosuid,
devpts on /dev/pts type devpts (rw,nosuid,
tmpfs on /run type tmpfs (rw,nosuid,
/dev/sda5 on / type ext4 (rw,relatime,
securityfs on /sys/kernel/
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,
cgroup on /sys/fs/
pstore on /sys/fs/pstore type pstore (rw,nosuid,
cgroup on /sys/fs/
cgroup on /sys/fs/
cgroup on /sys/fs/
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,
cgroup on /sys/fs/
cgroup on /sys/fs/
cgroup on /sys/fs/
cgroup on /sys/fs/
cgroup on /sys/fs/
cgroup on /sys/fs/
systemd-1 on /proc/sys/
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
fusectl on /sys/fs/
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,
richard@
Revision history for this message
|
#3 |
Are the 2 drives internal drives?
They have been formatted to Ext4 which is good.
Revision history for this message
|
#5 |
I am using partitions on one of the drives ok but not able to get /dev/sbd2 and /dev/sdc1 I believe.
Revision history for this message
|
#6 |
You can add the partitions to /etc/fstab
It depends how you want to use them. Is it just for data storage or do you have a use in mind?
Revision history for this message
|
#7 |
You can add the partitions to /etc/fstab - This is in folders, not sure about this or how this is done ?
It depends how you want to use them. Is it just for data storage or do you have a use in mind? - Mainly back up Ubuntu and storing films/videos.
So how do enable copy/paste from by video folder in say /dev/sdb6 (ext4) to say /dev/sdb2 (ext) or /dev/sdc1
Revision history for this message
|
#8 |
I can copy home/videos (/dev/sda5) to /dev/sdb6 415GB ext4 OK
But not to /dev/sdc1 ext4 which all most empty .
Why is this ?
Thanks Andrew
Revision history for this message
|
#9 |
Do you want one to be backup and one for videos?
Revision history for this message
|
#10 |
Once I have this I can give some fstab entries.
Revision history for this message
|
#11 |
Sdc1 has only one partition as you can see.
I could divide this into 2 and use this for back up and videos
or
Use sdc1 for videos only.
and use sdb6 for back up.
What do you think?
Revision history for this message
|
#12 |
Your choice. I don't know how much data you intend to backup or store for videos. You can use GPartEd to arrange your partitions. We can then mount them in a folder in your user's /home for easy access (or centrally if you have multiple users on the system).
It's a very flexible system.
Revision history for this message
|
#13 |
I usually store videos in video folder and them when we have seen them either delete them or save a copy to another folder on another drive for use some years later ( or give copy to the family). Save as data. about 100GB video folder.
Back up for Ubuntu16.04 I would like to save on 1TB internal HD which has 428.9GB free and each back up for Ubuntu has been about 14GB.
In the 2TB HD there are no folders and no options to add one - How do I do this please?
Thank again Andrew
Revision history for this message
|
#14 |
Use GParted to partition the drives. Its pretty self explanatory but use the "Gparted" menu in the application to change the device being manipulated and plan your partitions.
You can also label them here to make things clearer.
Revision history for this message
|
#15 |
Running the below (you don't need to alter it)
mkdir $HOME/BackupFolder
sudo mount /dev/sdc1 $HOME/BackupFolder
sudo chown $USER:USER $HOME/BackupFolder
Will make you a folder /home/$
Is this what you want? If so then run:
sudo blkid
and give the output. We can then add a line to /etc/fstab to mount it there every time you boot the system.
Revision history for this message
|
#16 |
What did I do Wrong here?
richard@
richard@
[sudo] password for richard:
richard@
chown: invalid group: ‘richard:USER’
richard@
Them type sudo blkid
richard@
/dev/sda1: LABEL="System Reserved" UUID="329C90AF9
/dev/sda2: UUID="08D4A2F2D
/dev/sda3: UUID="005EF74C5
/dev/sda5: UUID="f535e51d-
/dev/sda6: UUID="be08b1bc-
/dev/sdb2: UUID="d2eff4cd-
/dev/sdb5: LABEL="New Volume" UUID="01D2E5E08
/dev/sdb6: UUID="10ed14f1-
/dev/sdc1: UUID="db3780b5-
richard@
Revision history for this message
|
#17 |
What did I do wrong here ? See above.
How now do I set-up back up to my 2TB HD?
Thank you for any help.
Richard
Revision history for this message
|
#18 |
Tried to to back up, but not sure were too though ?
Backup Failed.
Got this Error msg:-
Permission denied when trying to create ‘/duplicity-
Revision history for this message
|
#19 |
NTFS doesn't store Linux file permissions. It's access needs setting at mount time.
I suggest you run a full chkdsk in Windows to make sure the file system is consistent
Revision history for this message
|
#20 |
There was an error in one of the previous commands, and I am not sure whether it is already corrected:
sudo chown $USER:USER $HOME/BackupFolder
chown: invalid group: ‘richard:USER’
It should have been
sudo chown $USER:$USER $HOME/BackupFolder
(with an additional $ sign)
Revision history for this message
|
#21 |
So Manfred should I have put 'richard:USER' somewhere in the terminal text?
and if how should it look?
Thank you Manfred for your help
Revision history for this message
|
#22 |
You gave the wrong command
"sudo chown $USER:USER $HOME/BackupFolder"
and the system responded with the error message
"chown: invalid group: ‘richard:USER’"
What you should have done (and probably should do now) is giving the correct command
sudo chown $USER:$USER $HOME/BackupFolder
Revision history for this message
|
#24 |
Did this again today:
sudo chown $USER:$USER $HOME/BackupFolder
Tried to back up on my 20.TB Volume
Backup Failed:
Permission denied when trying create'/ duplicity-full 20171105T122221
Revision history for this message
|
#25 |
What is the output of the commands
ls -ld ~/BackupFolder
grep BackupFolder /etc/fstab
Revision history for this message
|
#26 |
richard@
drwxrwxr-x 2 richard richard 4096 Oct 22 10:48 /home/richard/
richard@
Revision history for this message
|
#27 |
This is my 2TB HD
richard@
Can't open or generate any folders or see anything in this HD
Revision history for this message
|
#28 |
How do you mount the extra hard disk?
In one of the previous messages you want to access it as /home/richard/
Revision history for this message
|
#29 |
Sorry I am confused. Would like to have a backup on this HD and also my backups.
Can you please advise.
Thanks.
Richard
Sent from TypeApp<http://
On 6 Nov 2017, at 13:23, Manfred Hampl <<email address hidden>
Your question #659137 on Ubuntu changed:
https:/
Status: Open => Needs information
Manfred Hampl requested more information:
How do you mount the extra hard disk?
In one of the previous messages you want to access it as
/home/richard/
/media/
Revision history for this message
|
#30 |
So how do I use this 2TB HD for both please.
Sent from TypeApp<http://
On 6 Nov 2017, at 13:23, Manfred Hampl <<email address hidden>
Your question #659137 on Ubuntu changed:
https:/
Status: Open => Needs information
Manfred Hampl requested more information:
How do you mount the extra hard disk?
In one of the previous messages you want to access it as
/home/richard/
/media/
Revision history for this message
|
#31 |
If you do not want to do manual mounting whenever you want to use the 2TB disk, you have to create a directory as mount pint for it, and create a suitable entry in /etc/fstab.
This is what actionparsnip mentioned already on October 9 in response #6.
Revision history for this message
|
#32 |
Sorry I missed this :- You can add the partitions to /etc/fstab
So how do I set this up?
also the other Partition on the second HD which is 1.1TB
again thank you your help Manfred
Revision history for this message
|
#33 |
Can you help with this problem?
Provide an answer of your own, or ask Rich.b for more information if necessary.