DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2011-10-18 03:58:15

random404
Member
Registered: 2011-10-17
Posts: 17

Accessing data transferred to USB enclosure on a Linux computer

I have a 1TB drive in a USB enclosure that I was using as a backup for the drives in the DNS 323. It was connected to the DNS 323 through its USB port. Now when I connect the USB enclosure directly to my Linux computer, the directory that automatically pops open is /media/d9ed81fb-4460-4d88-90bc-fd7002a036e6. Within that directory are 3 directories named backup, .lpd, and .systemfile. What is this?!

Running the 'df' command shows the following, which confuses me because I have a 1TB fully functioning drive when it's connected to the DNS 323 but now that it's connected to the Linux laptop it's only showing a 500M section:

/dev/sdb4     ext2    487M  5.5M  481M   2% /media/d9ed81fb-4460-4d88-90bc-fd7002a036e6

If I run a 'sudo fdisk -l /dev/sdb', I get the following output:

Disk /dev/sdb: 1000.2 GB, 1000204884992 bytes
255 heads, 63 sectors/track, 121601 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/sdb1               1          66      530113+  82  Linux swap / Solaris
/dev/sdb2             131      121404   974133405   83  Linux
/dev/sdb4              67         130      514080   83  Linux

I'd like to be able to both access and modify files on the USB enclosure by simply connecting it to my Linux laptop - but clearly something weird is going on here. Could somebody help explain what might be happening here and how to solve it?

Offline

 

#2 2011-10-18 08:04:44

bjby
Member
Registered: 2009-02-22
Posts: 265

Re: Accessing data transferred to USB enclosure on a Linux computer

have you looked through all folders in  /media/ ?

Offline

 

#3 2011-10-18 11:49:54

random404
Member
Registered: 2011-10-17
Posts: 17

Re: Accessing data transferred to USB enclosure on a Linux computer

Yes, when I do 'ls -al /media/' the only result that appears is '/media/d9ed81fb-4460-4d88-90bc-fd7002a036e6', and within that directory are 3 directories backup, .lpd, and .systemfile.

When I try to mount /dev/sdb1 I get '/dev/sdb1 looks like swapspace - not mounted', and when I try to mount /dev/sdb2 I get 'mount: unknown filesystem type 'linux_raid_member''.

If anyone has any ideas about what could be going on here and how I can resolve it, that would be great. Thanks.

Last edited by random404 (2011-10-18 11:55:31)

Offline

 

#4 2011-10-18 14:05:25

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: Accessing data transferred to USB enclosure on a Linux computer

Have you tried mounting /dev/sdb2 ?

Offline

 

#5 2011-10-18 14:21:34

random404
Member
Registered: 2011-10-17
Posts: 17

Re: Accessing data transferred to USB enclosure on a Linux computer

Yes, when I try to mount /dev/sdb2 I get 'mount: unknown filesystem type 'linux_raid_member''. Any ideas?

Offline

 

#6 2011-10-18 19:25:23

bjby
Member
Registered: 2009-02-22
Posts: 265

Re: Accessing data transferred to USB enclosure on a Linux computer

googling
mount: unknown filesystem type 'linux_raid_member'
will give you tons and tons and tons to read.

Offline

 

#7 2011-10-18 19:46:29

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: Accessing data transferred to USB enclosure on a Linux computer

How did you format the external disk and what file system did you use?

Offline

 

#8 2011-10-19 11:36:20

oxygen
Member
Registered: 2008-03-01
Posts: 320
Website

Re: Accessing data transferred to USB enclosure on a Linux computer

you can just mount it with -t ext3, or if you want to make it correct:

mdadm --assemble /dev/md0 /dev/sdb2
mount /dev/md0

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB