Jag kör sedan en tid Ubuntu på en liten filserver med bl.a. två 2TB WD-diskar. Jag har starkt för mig att jag skapade en RAID1-array med mdadm och ev även LVM när jag installerade det hela men efter att servern stått stilla ett tag och jag dessutom tagit ut den ena WD-disken och meckat med andra diskar är det något fel som är trasigt. Nu skulle jag väldigt gärna vilja ha liv i diskarna igen och få tillgång till den data som finns på dem.
I min mdadm.conf finns en array "Lagring":
Diskarna som tillhör raiden heter /dev/sdb och /dev/sdc men har enligt fdisk "no valid partition table":
Enligt "cat /proc/mdstat " finns inga arrays eller oanvända diskar.
Fstab ser ut så här:
Finns det något jag kan göra för att återskapa min raid eller är det bara att sumpa all data och börja om?
I min mdadm.conf finns en array "Lagring":
Kod:
# mdadm.conf # # Please refer to mdadm.conf(5) for information about this file. # # by default (built-in), scan all partitions (/proc/partitions) and all # containers for MD superblocks. alternatively, specify devices to scan, using # wildcards if desired. #DEVICE partitions containers # auto-create devices with Debian standard permissions CREATE owner=root group=disk mode=0660 auto=yes # automatically tag new arrays as belonging to the local system HOMEHOST <system> # instruct the monitoring daemon where to send mail alerts MAILADDR root # definitions of existing MD arrays ARRAY /dev/md/Lagring metadata=1.2 UUID=188c33b7:363642f6:1dc33a18:7d098116 name=Server:Lagring # This file was auto-generated on Sun, 02 Aug 2015 19:57:37 +0200 # by mkconf $Id$
Kod:
Disk /dev/sda: 250.1 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0000e884 Device Boot Start End Blocks Id System /dev/sda1 * 2048 499711 248832 83 Linux /dev/sda2 501758 488396799 243947521 5 Extended /dev/sda5 501760 488396799 243947520 8e Linux LVM Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00000000 Disk /dev/sdb doesn't contain a valid partition table Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00000000 Disk /dev/sdc doesn't contain a valid partition table
Kod:
cat /proc/mdstat Personalities : unused devices: <none>
Kod:
cat fstab # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> /dev/mapper/ubuntu--vg-root / ext4 errors=remount-ro 0 1 # /boot was on /dev/sda1 during installation UUID=f060cbf9-9b4f-4ab5-9b24-fc8e24569123 /boot ext2 defaults 0 2 /dev/mapper/ubuntu--vg-swap_1 none swap sw 0 0
Finns det något jag kan göra för att återskapa min raid eller är det bara att sumpa all data och börja om?