Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> Restoring an XFS partition, Restoring an XFS partition
gvoyzey
post Apr 11 2011, 05:02 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 11-April 11
Member No.: 15,226



Hi Guys

Any help here would be greatly appreciated.

Occasionally I need to restore files from dead Lacie NAS drives. We use them for network storage devices on a home networks for Sonos music systems. I've had so many faulty Lacie drives over the last 3 years I lost count.
I believe that Lacie NAS drives store files using an XFS partition format. The partitions are not accessible from windows or OS X, so I've installed Ubuntu via VM ware and I can happily view all the partitions on the NAS drive (once the HDD is removed from the NAS enclosure and placed in a USB cradle).

The problem is that some files are locked and I don't have permission to move, copy or even open the folders. Now, I think I've really stuffed it by using trying to change the permissions via the info I could gather from the net.
I used the "sudo chown 666 /media" command in the terminal (/media is the folder where over 500 Artist & Album folders are stored, 450 of which are locked)

Now the drive partition has disappeared and won't re-mount after a restart. All I need to do is find the partition again and unlock all of the folders so I can copy them to a new HDD (assuming I haven't trashed them).

Regards
Glenn
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies (1 - 4)
michaelk
post Apr 12 2011, 07:16 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



Post the output of the command:
fdisk -l (must be root and that is a small L)
Go to the top of the page
 
+Quote Post
gvoyzey
post Apr 12 2011, 06:40 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 11-April 11
Member No.: 15,226



Thanks for your help

QUOTE (michaelk @ Apr 12 2011, 10:16 PM) *
Post the output of the command:
fdisk -l (must be root and that is a small L)


Here it is...

The 500GB partition is the partition where the music folders were stored...

Disk /dev/sda: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002e0d2

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2497 20051968 83 Linux
/dev/sda2 2497 2611 916481 5 Extended
/dev/sda5 2497 2611 916480 82 Linux swap / Solaris
omitting empty partition (9)

Disk /dev/sdf: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdf1 1 125 1004031 5 Extended
/dev/sdf2 126 60801 487379970 83 Linux
/dev/sdf5 1 16 128457 82 Linux swap / Solaris
/dev/sdf6 17 17 8001 83 Linux
/dev/sdf7 18 18 8001 83 Linux
/dev/sdf8 19 34 128488+ 83 Linux
Go to the top of the page
 
+Quote Post
michaelk
post Apr 12 2011, 08:49 PM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



The partition table is a bit odd. I assume the data is in sdf2.
/dev/sdf2 126 60801 487379970 83 Linux

It is not automatically mounted then try manually.
mount -t xfs /dev/sdf2 /media/mount_point (Create a directory as desired)

Go to the top of the page
 
+Quote Post
gvoyzey
post Apr 13 2011, 04:36 AM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 11-April 11
Member No.: 15,226



That's it! Hooray!

Thanks for taking time to help a newbie like myself.

I appreciate it.

Glenn
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st November 2017 - 02:23 PM