Re: [OT?] question about external hd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/06/2013 04:33 PM, Andrew Haley wrote:
On 02/06/2013 06:19 PM, "Germán A. Racca" wrote:
Hi people,

I have recently bought an external hard drive of 1 Tb capacity (Samsung
M3). I made a backup of my home directory with the following command:

$ cd /home
$ rsync -avh --delete --stats --exclude=*.vdi --exclude=*.iso german
/run/media/german/SAMSUNG/backup-skytux/

but it turns out that permissions on files/directories were not
preserved in the destination, and then I new that this was because of
the original NTFS format of the hd, so I formatted it to ext4 file
system using gparted.

On one hand, now the contents of my external hd are:

$ ll /run/media/german/SKYTUX/
total 16
drwx------. 2 root root 16384 Feb  6 15:51 lost+found

On the other hand, gparted gives me this information:

Size: 931.50 GiB
Used: 14.84 GiB (2%)
Unused: 916.66 GiB (98%)

So, my questions are:

1) I can't create any folder in the hd because it is owned by the root
user, and as I showed above there is this lost+found directory that I
don't understand why it is there. Is this ok?

Yes.

Should I be root to be
able to create/remove files/folder in my external hd??

No.  Create a scratch dir on the hd (as root) and do

chmod 1777 <mydir>

This will create a directory that any user can write to.

2) What is this 14.84 GB used in the hd? Is this used by the ext4 file
system?

Yes.  Inodes, reserved space, etc.

Andrew.

Thanks Andrew for your prompt reply and for clarifying my doubts.

The creation of a directory using chmod 1777 works fine!

Germán.

--
Germán A. Racca
Fedora Package Maintainer
https://fedoraproject.org/wiki/User:Skytux
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux