The DNS Guys |
Anycast DNS 25 Nameservers Worldwide |
DNS Failover Host Monitoring & Auto Rollback |
Outbound SMTP Smart Relay, SASL |
| Subversion Hosting OpenID Servers & XMPP |
DNSSEC TSIG & Secondary DNS |
easyRoute53 Amazon Route53 GUI |
![]() ![]() |
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 |
|
|
|
Apr 12 2011, 07:16 AM
Post
#2
|
|
|
Its GNU/Linuxhelp.net ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Support Specialist Posts: 1,629 Joined: 23-January 03 Member No.: 360 |
Post the output of the command:
fdisk -l (must be root and that is a small L) |
|
|
|
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
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 |
|
|
|
Apr 12 2011, 08:49 PM
Post
#4
|
|
|
Its GNU/Linuxhelp.net ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Support Specialist Posts: 1,629 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) |
|
|
|
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 |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 23rd May 2013 - 03:32 AM |