DSM HDD am USB Port wo sind die Daten

  • Ab sofort steht euch hier im Forum die neue Add-on Verwaltung zur Verfügung – eine zentrale Plattform für alles rund um Erweiterungen und Add-ons für den DSM.

    Damit haben wir einen Ort, an dem Lösungen von Nutzern mit der Community geteilt werden können. Über die Team Funktion können Projekte auch gemeinsam gepflegt werden.

    Was die Add-on Verwaltung kann und wie es funktioniert findet Ihr hier

    Hier geht es zu den Add-ons

Status
Für weitere Antworten geschlossen.

pbruk

Benutzer
Registriert
29. Juni 2011
Beiträge
27
Reaktionspunkte
0
Punkte
0
Hallo zusammen

ich habe eine Frage ich habe eine alte DSM Platte an meiner Station per USB Angeschlossen das root Verzeichnis sehe. Ich gibt es eine Möglichkeit an die Daten zu kommen (wo liegen die was muß evtl. gemountet werden über etwas Hilfe würde ich mich freuen.
Liebe Dank
Pit
 
Da wird wahrscheinlich nur die 1. Partition der Platte gemountet, die eigentlichen Daten liegen aber m.W. auf der 3. Partition.
Da hilft vermutlich nur manuelles Ummounten. Poste mal die Ausgabe von "mount".

Gruß Benares
 
Bei mir liegt ein RAID1 Volume (2 Platten) auf /dev/md2
 
hab ich mir schon gedacht installiere mir gerade den webmin melde mich dann nochmal
 
So komme mit root auf die Station nur läst sich das dev/sdr3 nicht mounten

Fehle no such device
grummel

fdisk zeigt ein fd Linux raid autodetect an

ich hasse raid grummel sorry
 
Zuletzt bearbeitet:
Benutz halt einfach putty und geh per telnet oder ssh drauf. Da kannst du dich als root anmelden.
 
Satzzeichen Please :)

Hast du dich denn auch als root mit dem Passwort von Admin angemeldet?
 
ja geht alles kann mich als root anmelden nur nicht mounten. Fehlermeldung siehe oben.


Jemand eine Idee?

pit
 
dev/sdr3 oder /dev/sdr3?
 
Ums es etwas klarer zu machen mount und Fdisk -l kopiert siehe unten.

/dev/sdr3 würde ich gern unter mnt mounten.

mount /dev/sdr3 /mnt gibt Fehlermeldung zurück

mount /dev/sdr3 /mnt
mount: mounting /dev/sdr3 on /mnt failed: No such device


Fdisk

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 311 2490240 fd Linux raid autodetect
Partition 1 does not end on cylinder boundary
/dev/sda2 311 572 2097152 fd Linux raid autodetect
Partition 2 does not end on cylinder boundary
/dev/sda3 588 60801 483665440+ fd Linux raid autodetect

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 311 2490240 fd Linux raid autodetect
Partition 1 does not end on cylinder boundary
/dev/sdb2 311 572 2097152 fd Linux raid autodetect
Partition 2 does not end on cylinder boundary
/dev/sdb3 588 60801 483665440+ fd Linux raid autodetect

Disk /dev/sdq: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdq1 1 19457 156288224+ b Win95 FAT32

Disk /dev/sdr: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdr1 1 311 2490240 fd Linux raid autodetect
Partition 1 does not end on cylinder boundary
/dev/sdr2 311 572 2097152 fd Linux raid autodetect
Partition 2 does not end on cylinder boundary
/dev/sdr3 588 19457 151569760+ fd Linux raid autodetect



Mount

/dev/root on / type ext4 (rw,relatime,barrier=0,journal_checksum,data=ordered)
/tmp on /tmp type tmpfs (0)
none on /dev/pts type devpts (gid=4,mode=620)
/sys on /sys type sysfs (0)
/proc/bus/usb on /proc/bus/usb type usbfs (0)
/dev/md2 on /volume1 type ext4 (usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,synoacl)
/dev/sdq1 on /volumeUSB1/usbshare type vfat (utf8,umask=000,shortname=mixed,uid=1024,gid=100)
/dev/sdr1 on /volumeUSB2/usbshare2-1 type ext4 (nodelalloc,synoacl)
 
Wurde die Platte evtl. als Raid erkannt? Was sagt denn "cat /proc/mdstat"?
 
swups wer weiß nun Rat?

pitstation> cat /proc/mdstat
Personalities : [raid1] [linear] [raid0] [raid10] [raid6] [raid5] [raid4]
md2 : active raid1 sdb3[1] sda3[0]
483664256 blocks super 1.2 [2/2] [UU]

md1 : active raid1 sda2[0] sdb2[1]
2097088 blocks [2/2] [UU]

md0 : active raid1 sda1[0] sdb1[1]
2490176 blocks [2/2] [UU]
 
Ok, danke. Das sind nur die normalen 3 Raid1 auf sda und sdb.

Da die Platte vorher ein Raidmember war, musst du wohl erst ein unvollständiges Raid1 (z.B. /dev/md3) mit mdadm erstellen. Das kannst du dann mounten.
Ich schau mal, ob ich ein Beispiel finde.

Gruß Benares
 
Das wäre klasse. Vielleicht kann man das dann automatisieren hatte schön öfters diese Situation.

Dank für die Mühe
Pit
 
Mach einfach regelmäßig ein Backup, dann kommst du sehr wahrscheinlich nie wieder in diese Situation.
 
hat nix mit Backup zu tun ich möchte nur wissen wie das geht.
 
Ich find jetzt auf die Schnelle keine wirklich gute Beschreibung, aber es müsste so klappen:
Code:
mdadm --assemble --force /dev/md3 /dev/sdr3
cat /proc/mdstat
mount /dev/md3 /mnt
Aber keine Garantie!!!! Evtl. sind die Daten futsch. (s. auch z.B. hier)
 
Zuletzt bearbeitet:
Scheint bis auf mount zu gehen frage mich was da schiefläuft

> mdadm --assemble --force /dev/md3 /dev/sdr3
mdadm: /dev/md3 has been started with 1 drive.
pitstation> cat /proc/mdstat
Personalities : [raid1] [linear] [raid0] [raid10] [raid6] [raid5] [raid4]
md3 : active raid1 sdr3[0]
151568640 blocks super 1.2 [1/1]

md2 : active raid1 sdb3[1] sda3[0]
483664256 blocks super 1.2 [2/2] [UU]

md1 : active raid1 sda2[0] sdb2[1]
2097088 blocks [2/2] [UU]

md0 : active raid1 sda1[0] sdb1[1]
2490176 blocks [2/2] [UU]

unused devices: <none>
pitstation> mount /dev/md3 /mnt
mount: mounting /dev/md3 on /mnt failed: No such device
 
Mmh, dann weiss ich auch nicht weiter. Zum Abschluss: Was sagt "mdadm --examine /dev/sdr3"?
 
hab mal die zweite usb Platte abgemacht
Die Eigabezeiten angepasst und das ganze nochmal genau das gleiche

pitstation> mdadm --examine /dev/sdq3
/dev/sdq3:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 613d9a9a:ae8d5082:bdec3521:95a78762
Name : DiskStation:2
Creation Time : Mon Sep 19 19:36:38 2011
Raid Level : raid1
Raid Devices : 1

Avail Dev Size : 303137473 (144.55 GiB 155.21 GB)
Array Size : 303137280 (144.55 GiB 155.21 GB)
Used Dev Size : 303137280 (144.55 GiB 155.21 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : 5c3398f9:48155ce5:b01058ae:6fce9b7d

Update Time : Fri Aug 17 21:41:00 2012
Checksum : 31c74d9a - correct
Events : 2


Device Role : Active device 0
Array State : A ('A' == active, '.' == missing)

------------------------------------------------------------------------------------------------
pitstation> fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 311 2490240 fd Linux raid autodetect
Partition 1 does not end on cylinder boundary
/dev/sda2 311 572 2097152 fd Linux raid autodetect
Partition 2 does not end on cylinder boundary
/dev/sda3 588 60801 483665440+ fd Linux raid autodetect

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 311 2490240 fd Linux raid autodetect
Partition 1 does not end on cylinder boundary
/dev/sdb2 311 572 2097152 fd Linux raid autodetect
Partition 2 does not end on cylinder boundary
/dev/sdb3 588 60801 483665440+ fd Linux raid autodetect

Disk /dev/sdq: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdq1 1 311 2490240 fd Linux raid autodetect
Partition 1 does not end on cylinder boundary
/dev/sdq2 311 572 2097152 fd Linux raid autodetect
Partition 2 does not end on cylinder boundary
/dev/sdq3 588 19457 151569760+ fd Linux raid autodetect
 
Status
Für weitere Antworten geschlossen.
 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat