Themabewertung:
  • 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
Wie UFS mounten? (erledigt)
#1
Hallo,

habe noch hier eine alte Platte im UFS Format (ehemals FreeNas). Dort befinden sich noch Aufnahmen, die ich gerne behalten wollte. Habe ich irgendwie eine Möglichkeit diese im VDR zu mounten?

Grüße

VDR1: Gen2VDRV3 /AsusP5KPL/1600 mit E5200, 9500GT, 2GB Ram (dualchannel), 2TB Sata HD, LG-DVD Sata, 2xtt-1600, PS3 FB (Xineliboutput als Frontend) NV-Treiber 195.36.15
VDR2: Gen2VDRV3/Easyvdr(Wino-Iso) //POV ION 330, 2GB Ram (singlechannel), 350GB Samsung Sata HD, LG-DVD Sata, S470 PCIe, PS3 FB (Xine als Frontend) NV-Treiber 195.36.15
Zitieren
#2
Um welche UFS-Version handelt es sich denn?

Es könnte

Code:
mount -r -t ufs -o ufstype=44bsd /dev/xxx /mnt

oder

Code:
mount -t ufs -ro ufstype=ufs2 /dev/xxx /mnt

funktionieren.

HTH

Andy
VDR 1: ASRock mit Atom J1200, NVIDIA GT610, Lüfterlos, TBS 6982 SE mit easyVDR 3.0
Zitieren
#3
@sinai

Um welche Version es sich handelt weiß ich nicht. Aber beide Eingaben brachten:

mount: wrong fs type, bad option, bad superblock on /dev/hda1,
      missing codepage or other error
      In some cases useful info is found in syslog - try
      dmesg | tail  or so

Mit fdisk -l

Disk /dev/hda: 320.0 GB, 320072933376 bytes
256 heads, 63 sectors/track, 38761 cylinders
Units = cylinders of 16128 * 512 = 8257536 bytes

Device Boot      Start        End      Blocks  Id  System
/dev/hda1              1      38762  312571223+  ee  EFI GPT

Grüße

VDR1: Gen2VDRV3 /AsusP5KPL/1600 mit E5200, 9500GT, 2GB Ram (dualchannel), 2TB Sata HD, LG-DVD Sata, 2xtt-1600, PS3 FB (Xineliboutput als Frontend) NV-Treiber 195.36.15
VDR2: Gen2VDRV3/Easyvdr(Wino-Iso) //POV ION 330, 2GB Ram (singlechannel), 350GB Samsung Sata HD, LG-DVD Sata, S470 PCIe, PS3 FB (Xine als Frontend) NV-Treiber 195.36.15
Zitieren
#4
Hab mal weiter gegoogelt:

Im Kernel muss folgendes einkompiliert sein:

Code:
Linux Kernel Configuration: file systems

File Systems -
   Miscellaneous Filesystems  -
     <*> UFS file system support

Edit: Ist drin

Code:
Linux Kernel Configuration: file systems

File Systems -
   Partition Types  -
     [*] Advanced partition selection
     [*]   PC BIOS (MSDOS partition tables) support
     [*]     BSD disklabel (FreeBSD partition tables) support

Edit: Ist nicht drin!!!

Ich sehe nur die Möglichkeit einen neuen Kernel zu bauen, der BSD disklabel support beinhaltet.

Danach kannst du dann

Code:
dmesg | grep bsd

und bekommst beispielsweise sowas:

Code:
p2: <bsd: p2 >

Diese Partition 2 kannst du dann so mounten:

Code:
mount -r -t ufs -o ufstype=44bsd /dev/hdb2 /mnt/

Andy
VDR 1: ASRock mit Atom J1200, NVIDIA GT610, Lüfterlos, TBS 6982 SE mit easyVDR 3.0
Zitieren
#5
Also habe die Dienste in der Kernel einkompiliert. Hier meine dmesg:

[    2.196000] megaraid: 2.20.5.1 (Release Date: Thu Nov 16 15:32:35 EST 2006)
[    2.198000] megasas: 00.00.03.10-rc5 Thu May 17 10:09:32 PDT 2007
[    2.200000] GDT-HA: Storage RAID Controller Driver. Version: 3.05
[    2.202000] GDT-HA: Found 0 PCI Storage RAID Controllers
[    2.204000] 3ware Storage Controller device driver for Linux v1.26.02.002.
[    2.206000] 3ware 9000 Storage Controller device driver for Linux v2.26.02.009.
[    2.209000] RocketRAID 3xxx SATA Controller driver v1.0 (060426)
[    2.211000] stex: Promise SuperTrak EX Driver version: 3.6.0000.1
[    2.213000] ahci 0000:00:09.0: version 2.2
[    2.213000] ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LSA0] -> GSI 21 (level, low) -> IRQ 18
[    3.217000] ahci 0000:00:09.0: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0xf impl IDE mode
[    3.219000] ahci 0000:00:09.0: flags: 64bit ncq led clo pmp pio
[    3.221000] PCI: Setting latency timer of device 0000:00:09.0 to 64
[    3.221000] scsi0 : ahci
[    3.224000] scsi1 : ahci
[    3.226000] scsi2 : ahci
[    3.228000] scsi3 : ahci
[    3.230000] ata1: SATA max UDMA/133 cmd 0xf8c50100 ctl 0x00000000 bmdma 0x00000000 irq 18
[    3.232000] ata2: SATA max UDMA/133 cmd 0xf8c50180 ctl 0x00000000 bmdma 0x00000000 irq 18
[    3.234000] ata3: SATA max UDMA/133 cmd 0xf8c50200 ctl 0x00000000 bmdma 0x00000000 irq 18
[    3.236000] ata4: SATA max UDMA/133 cmd 0xf8c50280 ctl 0x00000000 bmdma 0x00000000 irq 18
[    3.696000] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    3.745000] ata1.00: ATA-7: ST3160812AS, 3.AAE, max UDMA/133
[    3.747000] ata1.00: 312581808 sectors, multi 16: LBA48 NCQ (depth 31/32)
[    3.803000] ata1.00: configured for UDMA/133
[    4.108000] ata2: SATA link down (SStatus 0 SControl 300)
[    4.412000] ata3: SATA link down (SStatus 0 SControl 300)
[    4.716000] ata4: SATA link down (SStatus 0 SControl 300)
[    4.717000] scsi 0:0:0:0: Direct-Access    ATA      ST3160812AS      3.AA PQ: 0 ANSI: 5
[    4.719000] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
[    4.721000] sd 0:0:0:0: [sda] Write Protect is off
[    4.723000] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    4.723000] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.727000] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
[    4.729000] sd 0:0:0:0: [sda] Write Protect is off
[    4.730000] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    4.730000] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.734000]  sda: sda1 sda2 sda3 sda4
[    4.761000] sd 0:0:0:0: [sda] Attached SCSI disk
[    4.763000] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    4.766000] I2O subsystem v1.325
[    4.768000] i2o: max drivers = 8
[    4.770000] I2O Configuration OSM v1.323
[    4.771000] ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [LUB2] -> GSI 21 (level, low) -> IRQ 18
[    4.773000] PCI: Setting latency timer of device 0000:00:02.1 to 64
[    4.773000] ehci_hcd 0000:00:02.1: EHCI Host Controller
[    4.775000] ehci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 1
[    4.777000] ehci_hcd 0000:00:02.1: debug port 1
[    4.778000] PCI: cache line size of 64 is not supported by device 0000:00:02.1
[    4.778000] ehci_hcd 0000:00:02.1: irq 18, io mem 0xdfefec00
[    4.786000] ehci_hcd 0000:00:02.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[    4.787000] usb usb1: configuration #1 chosen from 1 choice
[    4.789000] hub 1-0:1.0: USB hub found
[    4.791000] hub 1-0:1.0: 6 ports detected
[    4.894000] ACPI: PCI Interrupt 0000:00:04.1[B] -> Link [UB12] -> GSI 23 (level, low) -> IRQ 16
[    4.896000] PCI: Setting latency timer of device 0000:00:04.1 to 64
[    4.896000] ehci_hcd 0000:00:04.1: EHCI Host Controller
[    4.898000] ehci_hcd 0000:00:04.1: new USB bus registered, assigned bus number 2
[    4.900000] ehci_hcd 0000:00:04.1: debug port 1
[    4.902000] PCI: cache line size of 64 is not supported by device 0000:00:04.1
[    4.902000] ehci_hcd 0000:00:04.1: irq 16, io mem 0xdfefe800
[    4.909000] ehci_hcd 0000:00:04.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[    4.911000] usb usb2: configuration #1 chosen from 1 choice
[    4.913000] hub 2-0:1.0: USB hub found
[    4.915000] hub 2-0:1.0: 6 ports detected
[    5.018000] 116x: driver isp116x-hcd, 03 Nov 2005
[    5.020000] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.020000] ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LUB0] -> GSI 22 (level, low) -> IRQ 17
[    5.022000] PCI: Setting latency timer of device 0000:00:02.0 to 64
[    5.022000] ohci_hcd 0000:00:02.0: OHCI Host Controller
[    5.024000] ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 3
[    5.026000] ohci_hcd 0000:00:02.0: irq 17, io mem 0xdfeff000
[    5.081000] usb usb3: configuration #1 chosen from 1 choice
[    5.083000] hub 3-0:1.0: USB hub found
[    5.084000] hub 3-0:1.0: 6 ports detected
[    5.187000] ACPI: PCI Interrupt 0000:00:04.0[A] -> Link [UB11] -> GSI 20 (level, low) -> IRQ 19
[    5.189000] PCI: Setting latency timer of device 0000:00:04.0 to 64
[    5.189000] ohci_hcd 0000:00:04.0: OHCI Host Controller
[    5.191000] ohci_hcd 0000:00:04.0: new USB bus registered, assigned bus number 4
[    5.193000] ohci_hcd 0000:00:04.0: irq 19, io mem 0xdfefd000
[    5.248000] usb usb4: configuration #1 chosen from 1 choice
[    5.250000] hub 4-0:1.0: USB hub found
[    5.252000] hub 4-0:1.0: 6 ports detected
[    5.354000] USB Universal Host Controller Interface driver v3.0
[    5.356000] sl811: driver sl811-hcd, 19 May 2005
[    5.358000] Initializing USB Mass Storage driver...
[    5.448000] usb 3-3: new low speed USB device using ohci_hcd and address 2
[    5.657000] usb 3-3: configuration #1 chosen from 1 choice
[    5.661000] usbcore: registered new interface driver usb-storage
[    5.663000] USB Mass Storage support registered.
[    5.665000] usbcore: registered new interface driver libusual
[    5.667000] PNP: No PS/2 controller found. Probing ports directly.
[    5.669000] serio: i8042 KBD port at 0x60,0x64 irq 1
[    5.671000] serio: i8042 AUX port at 0x60,0x64 irq 12
[    5.673000] mice: PS/2 mouse device common for all mice
[    5.770000] dcdbas dcdbas: Dell Systems Management Base Driver (version 5.6.0-3.2)
[    5.772000] TCP cubic registered
[    5.774000] NET: Registered protocol family 1
[    5.776000] NET: Registered protocol family 17
[    5.778000] Starting balanced_irq
[    5.780000] Using IPI No-Shortcut mode
[    5.796000] kjournald starting.  Commit interval 5 seconds
[    5.798000] EXT3-fs: mounted filesystem with ordered data mode.
[    5.799000] VFS: Mounted root (ext3 filesystem) readonly.
[    5.802000] Freeing unused kernel memory: 400k freed
[    8.258000] parport_pc 00:05: reported by Plug and Play ACPI
[    8.258000] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
[    8.295000] input: PC Speaker as /class/input/input2
[    8.317000] forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.60.
[    8.317000] ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LMAC] -> GSI 20 (level, low) -> IRQ 19
[    8.317000] PCI: Setting latency timer of device 0000:00:0a.0 to 64
[    8.317000] forcedeth: using HIGHDMA
[    8.347000] usbcore: registered new interface driver hiddev
[    8.402000] input:  USB Keyboard as /class/input/input3
[    8.402000] input: USB HID v1.10 Keyboard [  USB Keyboard] on usb-0000:00:02.0-3
[    8.425000] input:  USB Keyboard as /class/input/input4
[    8.425000] input: USB HID v1.10 Device [  USB Keyboard] on usb-0000:00:02.0-3
[    8.425000] usbcore: registered new interface driver usbhid
[    8.425000] drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
[    8.830000] eth0: forcedeth.c: subsystem: 01043:82b3 bound to 0000:00:0a.0
[    8.831000] ACPI: PCI Interrupt 0000:00:07.0[A] -> Link [LAZA] -> GSI 22 (level, low) -> IRQ 17
[    8.831000] PCI: Setting latency timer of device 0000:00:07.0 to 64
[    8.841000] hda_codec: Unknown model for ALC883, trying auto-probe from BIOS...
[  10.448000] Adding 265032k swap on /dev/sda1.  Priority:-1 extents:1 across:265032k
[  12.751000] Linux video capture interface: v2.00
[  12.757000] saa7146: register extension 'budget_av'.
[  12.758000] ACPI: PCI Interrupt 0000:01:07.0[A] -> Link [LNKB] -> GSI 19 (level, low) -> IRQ 20
[  12.758000] saa7146: found saa7146 @ mem f9066c00 (revision 1, irq 20) (0x153b,0x1154).
[  12.758000] saa7146 (0): dma buffer size 192512
[  12.758000] DVB: registering new adapter (TerraTec Cinergy 1200 DVB-S)
[  12.777000] adapter failed MAC signature check
[  12.777000] encoded MAC from EEPROM was ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff
[  13.012000] KNC1-0: MAC addr = 00:0a:ac:01:80:7c
[  13.314000] DVB: registering frontend 0 (ST STV0299 DVB-S)...
[  13.315000] budget-av: ci interface initialised.
[  13.377000] EXT3 FS on sda3, internal journal
[  13.765000] device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: [email protected]
[  14.003000] kjournald starting.  Commit interval 5 seconds
[  14.003000] EXT3 FS on sda4, internal journal
[  14.003000] EXT3-fs: mounted filesystem with ordered data mode.
[  14.839000] bttv: driver version 0.9.17 loaded
[  14.839000] bttv: using 8 buffers with 2080k (520 pages) each for capture
[  14.850000] bt878: AUDIO driver version 0.0.0 loaded
[  17.013000] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[  17.014000] NFSD: starting 90-second grace period
[  17.143000] usbcore: registered new interface driver kbtab
[  17.143000] drivers/input/tablet/kbtab.c: v0.0.2:USB KB Gear JamStudio Tablet driver
[  17.539000] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[  17.783000] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[  17.795000] 00:0b: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[  17.818000] lirc_dev: IR Remote Control driver registered, at major 61
[  17.818000] lirc_serial: no version for "lirc_unregister_plugin" found: kernel tainted.
[  18.320000] lirc_serial: auto-detected active low receiver
[  18.320000] lirc_dev: lirc_register_plugin: sample_rate: 0
[  23.898000] Linux agpgart interface v0.102 © Dave Jones
[  24.378000] nvidia: module license 'NVIDIA' taints kernel.
[  24.635000] ACPI: PCI Interrupt 0000:00:12.0[A] -> Link [SGRU] -> GSI 23 (level, low) -> IRQ 16
[  24.635000] PCI: Setting latency timer of device 0000:00:12.0 to 64
[  24.635000] NVRM: loading NVIDIA UNIX x86 Kernel Module  169.12  Thu Feb 14 17:53:07 PST 2008
[  27.841000] NET: Registered protocol family 10
[  27.841000] lo: Disabled Privacy Extensions
[  27.877000] powernow-k8: Found 2 AMD Athlon™ X2 Dual Core Processor BE-2400 processors (version 2.00.00)
[  27.877000] powernow-k8:    0 : fid 0xf (2300 MHz), vid 0xe
[  27.877000] powernow-k8:    1 : fid 0xe (2200 MHz), vid 0xf
[  27.877000] powernow-k8:    2 : fid 0xc (2000 MHz), vid 0x11
[  27.877000] powernow-k8:    3 : fid 0xa (1800 MHz), vid 0x13
[  27.877000] powernow-k8:    4 : fid 0x2 (1000 MHz), vid 0x16
[  30.500000] Clocksource tsc unstable (delta = -65171296 ns)
[  38.714000] eth0: no IPv6 routers present
[  61.805000] UFSD (fs/ufs/super.c, 620): ufs_fill_super:ENTER
[  61.805000] UFSD (fs/ufs/super.c, 627): ufs_fill_super:flag 1
[  61.805000] UFSD (fs/ufs/super.c, 316): ufs_parse_options:ENTER
[  61.805000] UFSD (fs/ufs/super.c, 668): ufs_fill_super:ufstype=44bsd
[  61.816000] ufs_read_super: bad magic number
[  61.816000] UFSD (fs/ufs/super.c, 1056): ufs_fill_super:EXIT (FAILED)
[  78.585000] UFSD (fs/ufs/super.c, 620): ufs_fill_super:ENTER
[  78.585000] UFSD (fs/ufs/super.c, 627): ufs_fill_super:flag 1
[  78.585000] UFSD (fs/ufs/super.c, 316): ufs_parse_options:ENTER
[  78.585000] UFSD (fs/ufs/super.c, 677): ufs_fill_super:ufstype=ufs2
[  78.591000] ufs_read_super: bad magic number
[  78.591000] UFSD (fs/ufs/super.c, 1056): ufs_fill_super:EXIT (FAILED)
VDR1: Gen2VDRV3 /AsusP5KPL/1600 mit E5200, 9500GT, 2GB Ram (dualchannel), 2TB Sata HD, LG-DVD Sata, 2xtt-1600, PS3 FB (Xineliboutput als Frontend) NV-Treiber 195.36.15
VDR2: Gen2VDRV3/Easyvdr(Wino-Iso) //POV ION 330, 2GB Ram (singlechannel), 350GB Samsung Sata HD, LG-DVD Sata, S470 PCIe, PS3 FB (Xine als Frontend) NV-Treiber 195.36.15
Zitieren
#6
Obiges editiertes Posting beachten. BSD Disklabelsupport fehlt im Kernel per default. Hast du das mit einkompiliert? UFS ist als Modul dabei.

Andy
VDR 1: ASRock mit Atom J1200, NVIDIA GT610, Lüfterlos, TBS 6982 SE mit easyVDR 3.0
Zitieren
#7
Ich konnte aber die von Dir angezeigten Dienste auswählen??? Also ist doch im Kernel enthalten?

dmesg | grep bsd
[  61.805000] UFSD (fs/ufs/super.c, 668): ufs_fill_super:ufstype=44bsd

Grüße

VDR1: Gen2VDRV3 /AsusP5KPL/1600 mit E5200, 9500GT, 2GB Ram (dualchannel), 2TB Sata HD, LG-DVD Sata, 2xtt-1600, PS3 FB (Xineliboutput als Frontend) NV-Treiber 195.36.15
VDR2: Gen2VDRV3/Easyvdr(Wino-Iso) //POV ION 330, 2GB Ram (singlechannel), 350GB Samsung Sata HD, LG-DVD Sata, S470 PCIe, PS3 FB (Xine als Frontend) NV-Treiber 195.36.15
Zitieren
#8
Wenn ich dich richtig verstehe, meinst du, dass im Auswahlmenü nach "make menuconfig" diese Treiber zur Verfügung stehen. Bei mir ist unter 0.6.2 UFS als Modul markiert, BSD-Disklabel-Support aber nicht ausgewählt. Das brauchst du beides. Dann sollte eigentlich in dmesg deine BSD-Platte angezeigt werden (sofern sie in Ordnung ist)

Andy
VDR 1: ASRock mit Atom J1200, NVIDIA GT610, Lüfterlos, TBS 6982 SE mit easyVDR 3.0
Zitieren
#9
@sinai

Habe den Kernel gerade nochmal durchlaufen lassen. Jetzt funktioniert es mit folgenden mount:

mount -t ufs -ro ufstype=ufs2 /dev/hda1 /mnt

Danke für Deine Hilfe!!!

Grüße

VDR1: Gen2VDRV3 /AsusP5KPL/1600 mit E5200, 9500GT, 2GB Ram (dualchannel), 2TB Sata HD, LG-DVD Sata, 2xtt-1600, PS3 FB (Xineliboutput als Frontend) NV-Treiber 195.36.15
VDR2: Gen2VDRV3/Easyvdr(Wino-Iso) //POV ION 330, 2GB Ram (singlechannel), 350GB Samsung Sata HD, LG-DVD Sata, S470 PCIe, PS3 FB (Xine als Frontend) NV-Treiber 195.36.15
Zitieren
#10
(11.07.2008, 10:53)Alpine link schrieb: mount -t ufs -ro ufstype=ufs2 /dev/hda1 /mnt

Freut mich, dass es klappt, aber /dev/hda1??? Hast du den VDR auf hdb oder hdc installiert?

Andy
VDR 1: ASRock mit Atom J1200, NVIDIA GT610, Lüfterlos, TBS 6982 SE mit easyVDR 3.0
Zitieren
#11
Nein, mein VDR läuft auf SATA, die FreeNas Platte habe ich jetzt noch zusätzlich eingebaut.

Grüße

VDR1: Gen2VDRV3 /AsusP5KPL/1600 mit E5200, 9500GT, 2GB Ram (dualchannel), 2TB Sata HD, LG-DVD Sata, 2xtt-1600, PS3 FB (Xineliboutput als Frontend) NV-Treiber 195.36.15
VDR2: Gen2VDRV3/Easyvdr(Wino-Iso) //POV ION 330, 2GB Ram (singlechannel), 350GB Samsung Sata HD, LG-DVD Sata, S470 PCIe, PS3 FB (Xine als Frontend) NV-Treiber 195.36.15
Zitieren


Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste