LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-21-2016, 10:40 AM   #16
Operator
Member
 
Registered: Aug 2015
Location: Virginia
Distribution: RHEL 5, Fedora 22
Posts: 46

Original Poster
Rep: Reputation: Disabled

At any rate thank you for the link I'll definitely be checking that out when I get home
 
Old 07-21-2016, 10:44 AM   #17
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 3,004

Rep: Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804
Don't get humpy with me pal I'm trying to help, this info would have been helpful, and being reminded politly to include extra info on your problem is a reasonable request, so I am outta here if you want to give me attitude about helping you to help us with your problem!
 
Old 07-21-2016, 10:45 AM   #18
Operator
Member
 
Registered: Aug 2015
Location: Virginia
Distribution: RHEL 5, Fedora 22
Posts: 46

Original Poster
Rep: Reputation: Disabled
Uh... that wasn't attitude... that was just humor and a sheepish apology for not providing enough information...
 
Old 07-21-2016, 10:57 AM   #19
Operator
Member
 
Registered: Aug 2015
Location: Virginia
Distribution: RHEL 5, Fedora 22
Posts: 46

Original Poster
Rep: Reputation: Disabled
Now can we continue talking like gentlemen or... no?
 
Old 07-21-2016, 11:30 AM   #20
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 4,629

Rep: Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135
That "unconfined_u:object_r:user_home_t:s0" is a perfectly normal SELinux context for files under your home directory. No problem there.

What application or command were you using to do the transfer? That might help in understanding what happened. Unless you told it to move the files or delete the source files after the transfer (unlikely -- you said this was intended as a backup), the source files should not have been affected.

Running fsck in these situations (except in it's automatic "preen" (-p) mode) is not a good idea. The job of fsck is to make the filesystem consistent, and that can sometimes come at the expense of user data.
 
Old 07-21-2016, 11:34 AM   #21
Operator
Member
 
Registered: Aug 2015
Location: Virginia
Distribution: RHEL 5, Fedora 22
Posts: 46

Original Poster
Rep: Reputation: Disabled
Hmm, okay...

I'm just using F22 with Gnome. I had the MicroSD card in my phone, phone plugged in via USB to the laptop, pulled both folders - the local computer folder and the SD card - up side by side, selected the files on the computer, and tried to drag the selection over to the SD card.

I did give my unskilled hand a shot at running fsck after this all happened, BUT before that (just to prevent further damage, I guess) I copied the folder to an external HD. I'm pretty sure I did run fsck with -p on the folder on the computer but the folder on the external HD is as it was immediately after the outage with no further changes.
 
Old 07-21-2016, 11:34 AM   #22
Operator
Member
 
Registered: Aug 2015
Location: Virginia
Distribution: RHEL 5, Fedora 22
Posts: 46

Original Poster
Rep: Reputation: Disabled
I was under the impression that a click and drag to external storage would end up as a copy, not a cut... maybe I'm wrong
 
Old 07-21-2016, 01:20 PM   #23
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 4,629

Rep: Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135
Yes, the default should be "copy" when the source and destinations are on different filesystems. There would be a little "+" sign with the "hand" cursor to indicate a copy. Holding down the shift key changes the operation to "move", and the "+" sign changes to a little arrow. When going between directories on the same filesystem, the default is "move" and you have to hold down the ctrl key to copy.

Is the source filesystem ext4? I've lost track of what Fedora uses as a default filesystem.
 
Old 07-21-2016, 01:24 PM   #24
Operator
Member
 
Registered: Aug 2015
Location: Virginia
Distribution: RHEL 5, Fedora 22
Posts: 46

Original Poster
Rep: Reputation: Disabled
Man, I'm not even sure. I'm sorry guys. I'll have to get you more when I get home. That'll be pretty soon here after I get my daughter from day care (and get off work in a half hour).
 
Old 07-21-2016, 04:48 PM   #25
Operator
Member
 
Registered: Aug 2015
Location: Virginia
Distribution: RHEL 5, Fedora 22
Posts: 46

Original Poster
Rep: Reputation: Disabled
Okay. I'm back and using the computer in question. Quick way to check the file system type of it, please?
 
Old 07-21-2016, 04:50 PM   #26
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,075

Rep: Reputation: 725Reputation: 725Reputation: 725Reputation: 725Reputation: 725Reputation: 725Reputation: 725
Mount ought to tell you the filesystem of any mounted drive:

Code:
mount
For what it's worth, xfs is the default FS for Red Hat so I think that's probably what it is for Fedora as well. Could be ext4, I reckon.

Otherwise, parted can definitely tell you the FS for both a mounted and unmounted drive:

Code:
$ sudo parted /dev/sdc print

Last edited by notKlaatu; 07-21-2016 at 04:54 PM.
 
Old 07-21-2016, 05:02 PM   #27
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 4,629

Rep: Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135
Also, "df -T" will report the filesystem type as well as the space.
 
Old 07-21-2016, 05:23 PM   #28
Operator
Member
 
Registered: Aug 2015
Location: Virginia
Distribution: RHEL 5, Fedora 22
Posts: 46

Original Poster
Rep: Reputation: Disabled
Okay... let's go with df. mount is a lot to read. Okay, the folder in question is in the /home partition (of course, right?). df says /home is ext4. Do you also need that of the phone?
 
Old 07-21-2016, 07:27 PM   #29
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 4,629

Rep: Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135
Quote:
Originally Posted by Operator View Post
Okay... let's go with df. mount is a lot to read. Okay, the folder in question is in the /home partition (of course, right?). df says /home is ext4. Do you also need that of the phone?
No, the filesystem on the phone shouldn't matter. For some of the corrupted files, what is the inode change time shown by "ls -lc"? Just for comparison, look at that for a few of the non-corrupted files as well. Also, how recently were the corrupted files known to be good?
 
Old 07-22-2016, 06:46 AM   #30
Operator
Member
 
Registered: Aug 2015
Location: Virginia
Distribution: RHEL 5, Fedora 22
Posts: 46

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rknichols View Post
No, the filesystem on the phone shouldn't matter. For some of the corrupted files, what is the inode change time shown by "ls -lc"? Just for comparison, look at that for a few of the non-corrupted files as well. Also, how recently were the corrupted files known to be good?
I'll check the ls -lc results when I get home again. The non-corrupted files were good as of uhhhh... Monday or Tuesday... Monday is when Amazon dropped off my replacement memory card but IIRC I didn't start the file transfer until Tuesday night.

Last edited by Operator; 07-22-2016 at 07:27 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
XFCE open directory as root, drag and drop file transfer alternate to SFTP greenace92 Debian 3 03-31-2016 03:13 AM
[SOLVED] ssh/sftp/scp file transfer of huge files ilesterg Linux - Software 11 11-08-2015 11:15 PM
[most secure, open source, client/server file transfer program] Synesthesia Linux - Software 5 11-28-2005 08:20 PM
Can't resume file transfer on files larger than 1 gig dalesan Linux - Newbie 2 10-11-2005 11:50 AM
need a perlscript to read from a text file and transfer files via ftp cccc Linux - Networking 2 02-21-2004 06:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration