storing data to external hdd ends up in creating folders - nothing more
hello dear linux -experts,
running a new extern harddrive and i work with linux (opensuse 12.3) i want to copy data to the extern drive (NTFS) - but what happenes there only folders were created - nothing more. Why !? i have no glue at all. btw. i try to do these backups with dolphin. i am not so familiar with terminal. plz advice greetings |
Quote:
You don't say how you're trying to do 'backups' with dolphin...assuming you mean you want to COPY the files, but depending on how they're selected, what options you have in dolphin, that could be a problem...also in how you paste them. All you need to do to copy folders from the command line is use the "-R" flag...again, read the man pages. If you want to copy everything from one directory to another, you would type in: Code:
cp -R /home/documents/* /media/externaldrive |
Quote:
2. what commands have you issued to copy the data? 3. what commands have you issued to verify that the data did not copy and only created directories? please use the code flags to demonstrate EXACTLY what you typed and what the exact results is from the computer. ex: [ code ] foo [ / code ] just remove the spaces between [ ] and / you will get an output like so: Code:
[user@centos ~]$ d Pi/ Code:
[user@centos ~]$ alias |
hello dear lleb
first of all - many many thanks for the quick answer - and your explanations. here what i did today (i did this before i read your posting) note - it was formated with ntfs several hours ago i used the opensuse 12.3 patitioner - yast:: system:: partitioner i formated this terabyte hdd with ext4 now i cannot write to it - i think i have to mount it: which mounting point i have to use!? see the protocoll: i tried to use the mounting point srv - it did not work - i tried to change... mounting-point /dev/sdb1 to /usr/local changed it tid not work: What can i do now Quote:
for any and all help i will be very very thankful greetings |
as root issue the following commands
Code:
# fdisk -l Code:
# blkid drive letter changing is one of issues with USB connected HDDs for backups and other means of transferring/transmitting data via scripts. now you need to create its mount point Code:
# mkdir /mnt/external Code:
/media now you can either manually mount the drive or add it to your fstab and have it mount with the system booting. Code:
# cat /etc/fstab also to mount it manually i believe, but am not 100% on this this command should work for you: Code:
mount -t ext4 UUID=2284e13a-7d41-461d-aa97-131612ac6174 /exports/NFS this is make it r/w but only for the root user. you still will need to read up on changing permissions. http://linuxcommand.org/lts0070.php http://www.linux.org/threads/file-pe...ns-chmod.4094/ http://www.linux.com/learn/tutorials...le-permissions |
Quote:
Quote:
|
helllo you both
many many thanks for the hints. first of all here we have the results for the command fdisk -l note - this was the first thing i did after reading the above posts: afterwards - that means in the next hour i want to create its mount point with Code:
or with that: Code:
/media first of all - here we have the very very first results oft the fdisk command... Code:
Gerät boot. Anfang Ende Blöcke Id System what do you say.... [sorry for the german tongue - i will try to do the commands in engl. Utf8 in the future... look forward to hear from you greetings |
Looks like you're ready to mount it
Code:
mkdir -p /mnt/external |
hello dear suicidaleggroll - many many thx for all.
i did it - as you adviced Quote:
hmm i did it: but at the moment i cannot copy anything to the drive? note: i tried to copy with dolphin - but it did not work what can i do now!? What can i try now. any command for the commandline to - check the system? |
You keep saying "it doesn't work", but provide no other details. WHAT isn't working? Are you getting an error message? Is the directory not visible? Does it act like it's copying but nothing shows up? You need to provide more information than "it doesn't work" in order for us to see what's going on.
|
hello dear suicidaleggroll
thx for the quick reply. Quote:
hmm youre right! i can see the diretory - all that is nice. well if i try to do a copy into that - with dolphin - it does not work - note: i can see the directory - but if i copy a folder from the home-of my machine and want to subsequently copy it to the external hdd - then it fails. note: i cannot create a directory in the external hdd - if i try to do so - with dolphin, it does not work at all. i am not able to create a diretcory within the external hdd - at least not with dolphin. And - another trial: if i try to copy a file from home - and try to put it to the external hdd - then it is not possible to put the file to the external directory. note: if i move the file - in dolphin - to the external diretory then the folder is shown "invers" that means it is not accessible or writeable.... what can i do!? |
Open a terminal and try copying something that way
Code:
cp /path/to/some/file /mnt/external/ It sounds like it may just be a permissions issue. |
Quote:
thus my links above on how to change file permissions so that your user can access the drive. if those links dont translate well, please indicate what you do and do not understand. |
All times are GMT -5. The time now is 03:01 PM. |