ubuntuusers.de

HDD mit zfs entweder lesbar machen oder einbinden

Status: Gelöst | Ubuntu-Version: Ubuntu 24.04 (Noble Numbat)
Antworten |

Jack-Voyager

Anmeldungsdatum:
14. Juni 2024

Beiträge: 5

Hallo liebe Forenmitglieder

Da ich aktuell Zeit habe und mir Linux schon immer ein Anliegen war, möchte ich mich da etwas einarbeiten. Ich habe die Installation und Einrichtung soweit gemacht, habe eine SDD eingehängt, ein RAID 1 mit zwei HDD erstellt usw.

Ich habe noch zwei weitere HDD, die in ZFS sind, aber leider die passende Hardware nicht mehr (Server ist defekt). Gibt es eine Möglichkeit unter Ubuntu die HDD zu mounten und die Daten auf die md0 zu kopieren? Die Festplatten für das RAID waren leer, daher konnte ich einfach mal probiere.

Meine Hardware:

N100 Asus mit 16 GB

256 GB Samsung SSD

500 GB Samsung SSD

2x 8TB Seagate HDD

2x 12TB Toschiba HDD (waren früher im RAID)

Hier die Daten, die per sudo fdisk -l ausgegeben wurden (es geht um die fett markierten HDD):

Festplatte /dev/loop0: 55,66 MiB, 58363904 Bytes, 113992 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/loop1: 74,24 MiB, 77844480 Bytes, 152040 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/loop2: 4 KiB, 4096 Bytes, 8 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/loop3: 10,72 MiB, 11239424 Bytes, 21952 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/loop4: 269,63 MiB, 282722304 Bytes, 552192 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/loop5: 505,09 MiB, 529625088 Bytes, 1034424 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/loop6: 91,69 MiB, 96141312 Bytes, 187776 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/loop7: 10,32 MiB, 10821632 Bytes, 21136 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/sda: 465,76 GiB, 500107862016 Bytes, 976773168 Sektoren
Festplattenmodell: Samsung SSD 850 
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplattenbezeichnungstyp: gpt
Festplattenbezeichner: 8204C8B7-5CE4-4CFF-AC08-8D2FBB554421

Gerät      Anfang      Ende  Sektoren  Größe Typ
/dev/sda1    2048 976773119 976771072 465,8G Linux-Dateisystem


Festplatte /dev/sdb: 7,28 TiB, 8001563222016 Bytes, 15628053168 Sektoren
Festplattenmodell: ST8000NE001-2M71
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 4096 Bytes
E/A-Größe (minimal/optimal): 4096 Bytes / 4096 Bytes
Festplattenbezeichnungstyp: gpt
Festplattenbezeichner: 1A72ACB5-743C-4E3E-BEA3-63B80D84AB79

Gerät      Anfang        Ende    Sektoren Größe Typ
/dev/sdb1    2048 15628052479 15628050432  7,3T Linux-Dateisystem


Festplatte /dev/sdc: 7,28 TiB, 8001563222016 Bytes, 15628053168 Sektoren
Festplattenmodell: ST8000NE001-2M71
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 4096 Bytes
E/A-Größe (minimal/optimal): 4096 Bytes / 4096 Bytes
Festplattenbezeichnungstyp: gpt
Festplattenbezeichner: 35D858C0-586C-41AD-9D40-2E72062B586C

Gerät      Anfang        Ende    Sektoren Größe Typ
/dev/sdc1    2048 15628052479 15628050432  7,3T Linux-Dateisystem


'''Festplatte /dev/sdd: 10,91 TiB, 12000138625024 Bytes, 23437770752 Sektoren
Festplattenmodell: TOSHIBA HDWG21C 
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 4096 Bytes
E/A-Größe (minimal/optimal): 4096 Bytes / 4096 Bytes
Festplattenbezeichnungstyp: gpt
Festplattenbezeichner: 8D6D6D48-0447-45F8-A753-7619DDA5B06C

Gerät      Anfang        Ende    Sektoren Größe Typ
/dev/sdd1    4096 23437768704 23437764609 10,9T Solaris /usr & Apple ZFS'''


'''Festplatte /dev/sde: 10,91 TiB, 12000138625024 Bytes, 23437770752 Sektoren
Festplattenmodell: TOSHIBA HDWG21C 
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 4096 Bytes
E/A-Größe (minimal/optimal): 4096 Bytes / 4096 Bytes
Festplattenbezeichnungstyp: gpt
Festplattenbezeichner: 2D531390-897A-4234-AF17-CE2038326B12

Gerät      Anfang        Ende    Sektoren Größe Typ
/dev/sde1    4096 23437768704 23437764609 10,9T Solaris /usr & Apple ZFS'''


Festplatte /dev/nvme0n1: 232,89 GiB, 250059350016 Bytes, 488397168 Sektoren
Festplattenmodell: Samsung SSD 970 EVO Plus 250GB          
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplattenbezeichnungstyp: gpt
Festplattenbezeichner: 189102D1-5069-42C2-A424-4A0E2D15DFC6

Gerät           Anfang      Ende  Sektoren  Größe Typ
/dev/nvme0n1p1    2048   2203647   2201600     1G EFI-System
/dev/nvme0n1p2 2203648 488394751 486191104 231,8G Linux-Dateisystem


Festplatte /dev/md127: 7,28 TiB, 8001426554880 Bytes, 15627786240 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 4096 Bytes
E/A-Größe (minimal/optimal): 4096 Bytes / 4096 Bytes


Festplatte /dev/loop8: 87,59 MiB, 91840512 Bytes, 179376 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/loop9: 38,73 MiB, 40615936 Bytes, 79328 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/loop10: 10,37 MiB, 10870784 Bytes, 21232 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/loop11: 476 KiB, 487424 Bytes, 952 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/loop12: 38,83 MiB, 40714240 Bytes, 79520 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/loop14: 138,87 MiB, 145616896 Bytes, 284408 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes


Festplatte /dev/loop15: 138,87 MiB, 145612800 Bytes, 284400 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes

'''Hier noch die Ausgabe von sudo lsblk -o NAME,UUID,FSTYPE,LABEL,MOUNTPOINT '''

NAME    UUID                                 FSTYPE  LABEL     MOUNTPOINT
loop0                                        squashf           /snap/core18/2823
loop1                                        squashf           /snap/core22/1380
loop2                                        squashf           /snap/bare/5
loop3                                        squashf           /snap/firmware-up
loop4                                        squashf           /snap/firefox/417
loop5                                        squashf           /snap/gnome-42-22
loop6                                        squashf           /snap/gtk-common-
loop7                                        squashf           /snap/snap-store/
loop8                                        squashf           /snap/plexmediase
loop9                                        squashf           /snap/snapd/21465
loop10                                       squashf           /snap/snap-store/
loop11                                       squashf           /snap/snapd-deskt
loop12                                       squashf           /snap/snapd/21759
loop14                                       squashf           /snap/thunderbird
loop15                                                         /snap/thunderbird
sda                                                            
└─sda1  adfcf456-ce7b-4afd-8e7d-126a2342eb1a ext4    Crusher   
sdb                                                            
└─sdb1  89660a08-9603-9ff8-db74-0edee395725e linux_r Piccard:0 
  └─md127
        b732a189-5a3e-49ea-a17f-ffc7da731f56 ext4              /mnt/b732a189-5a3
sdc                                                            
└─sdc1  89660a08-9603-9ff8-db74-0edee395725e linux_r Piccard:0 
  └─md127
        b732a189-5a3e-49ea-a17f-ffc7da731f56 ext4              /mnt/b732a189-5a3
sdd                                                            
└─sdd1  3423275162367809318                  zfs_mem Voyager   
sde                                                            
└─sde1  3423275162367809318                  zfs_mem Voyager   
nvme0n1                                                        
├─nvme0n1p1
│       B526-746D                            vfat              /boot/efi
└─nvme0n1p2
        045fbb35-410b-4a99-8f63-1a18be10bebe ext4              /

Hoffe, ich habe gemäss Forenregeln an alles gedacht. Über eure Hilfe würde ich mich sehr freuen. Jack

Moderiert von DJKUhpisse:

+Codeblock

Jack-Voyager

(Themenstarter)

Anmeldungsdatum:
14. Juni 2024

Beiträge: 5

Es war ein Problem mit den Rechten, dass ich die Festplatte nicht anhängen konnte. Nach chown konnte ich auf die Daten zugreifen. Leider hatte ich das im Wiki überlesen.

Antworten |