LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 02-12-2013, 01:00 PM   #16
cruzdelsur
Member
 
Registered: Aug 2010
Location: Chile
Distribution: Ubuntu 12.04
Posts: 69

Original Poster
Rep: Reputation: 0

Thanks!!
I'll give it a try!
 
Old 02-12-2013, 01:01 PM   #17
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,317

Rep: Reputation: 124Reputation: 124
I'm trying to do some thinking here.
* Are you sure you have lost files?
There is a difference in how apps display disk size.
Your 130GB partition is displayed as 119GB by df (post #7). (Some apps lazily uses '1000' for MB & GB instead of 1024, so 1000kB is actually not quite 1MB etc.)

* Are you sure your /dev/sda5 was mounted on media/datos when you copied?
If not, you would have filled the / partition /dev/sda2 instead of /dev/sda5, and / could show 99% usage.
I so hope this is not the case, because if so you have most probably lost your files. (Or have to pay big money to get them back.)
 
Old 02-12-2013, 05:29 PM   #18
cruzdelsur
Member
 
Registered: Aug 2010
Location: Chile
Distribution: Ubuntu 12.04
Posts: 69

Original Poster
Rep: Reputation: 0
Well, I'm pretty sure I lost mysteriously those files... I understand what you say about the partition size, but when I run Photorec, it found files that were not visible on the partition, and that I was aware I have saved there. So they were insivible :O

I'm also sure I mounted my /dev/sda5 on /media/datos because I didn't want to lose my info, so I made sure I mounted them there.

The 99% of usage was not due to that I mounted there, because before I run Photorec I have lots of free space, since I have formatted recently that partition.

I'll let you know what happened when Photorec finishes.

Thank you all!!!

Last edited by cruzdelsur; 02-12-2013 at 05:34 PM.
 
Old 02-12-2013, 07:05 PM   #19
cruzdelsur
Member
 
Registered: Aug 2010
Location: Chile
Distribution: Ubuntu 12.04
Posts: 69

Original Poster
Rep: Reputation: 0
Well, well... I think I recover most of the files happy me!!
I'll have to rename them though... it will take me some time :/ But at least, I got them back.

Should it be safe to mount normally my /media/datos partition?
 
Old 02-13-2013, 10:29 AM   #20
cruzdelsur
Member
 
Registered: Aug 2010
Location: Chile
Distribution: Ubuntu 12.04
Posts: 69

Original Poster
Rep: Reputation: 0
Hi again,

Another question... I don't know how to mount again the partition to be usable again... (It's read-only now...)
Thanks!
 
Old 02-17-2013, 10:28 AM   #21
cruzdelsur
Member
 
Registered: Aug 2010
Location: Chile
Distribution: Ubuntu 12.04
Posts: 69

Original Poster
Rep: Reputation: 0
(I'll be offline until next Sunday, just in case!)
 
Old 02-17-2013, 07:53 PM   #22
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
Assuming you are sure
Code:
# if partition & mt pt is defined in fstab,
# use this with mt pt or partition
mount -o remount,rw /media/datos

# specify both if its not defined in fstab
mount -o remount,rw /dev/sda5  /media/datos
 
Old 03-05-2013, 10:23 AM   #23
cruzdelsur
Member
 
Registered: Aug 2010
Location: Chile
Distribution: Ubuntu 12.04
Posts: 69

Original Poster
Rep: Reputation: 0
Hi guys,

I tried the first option Chris suggested, but I didn't work as I wanted. I'm able to see the partition now, if I go to media. But The files are still protected. Should I just change that with chmod? or is there something else I should do?

This is my fstab file:

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda2 during installation
UUID=b08baef3-c005-4070-aa15-227d73102c66 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda3 during installation
UUID=dbd1d13b-a045-4029-8192-59f96a968680 /home ext4 defaults 0 2
# /media/datos was on /dev/sda5 during installation
UUID=9c407492-2dcf-4641-b411-328633ccdd2d /media/datos ext4 defaults 0 2
# swap was on /dev/sda1 during installation
UUID=1440874c-35b7-4dbd-9318-1fa3fc408f45 none swap sw 0 0


Thank you so much!!!
 
Old 03-06-2013, 05:32 PM   #24
cruzdelsur
Member
 
Registered: Aug 2010
Location: Chile
Distribution: Ubuntu 12.04
Posts: 69

Original Poster
Rep: Reputation: 0
Please, anyone?
 
Old 03-09-2013, 07:09 PM   #25
cruzdelsur
Member
 
Registered: Aug 2010
Location: Chile
Distribution: Ubuntu 12.04
Posts: 69

Original Poster
Rep: Reputation: 0
Well, I guess it's time to close this post. Thanks everyone.
 
  


Reply

Tags
formatting, lost data, ubuntu 12.04


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
Lost fedora partition when installing ubuntu? $u$hil_k$ Linux - Newbie 14 03-30-2012 10:05 AM
Devices lost after Ubuntu installation XXLRay Linux - General 34 08-23-2011 07:42 AM
[SOLVED] Ubuntu Reinstall with same /home partition, all seems lost but still 13gb disk space TwoGuesses Linux - Software 9 08-19-2011 11:29 AM


All times are GMT -5. The time now is 05:55 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration