I have a raid 5 with 3 disks
I did some updates and now after boot I have no raid
tried doing " /proc/mdstat" and am getting /proc/mdstat: Permission denied
Help?
What now?
I have a raid 5 with 3 disks
I did some updates and now after boot I have no raid
tried doing " /proc/mdstat" and am getting /proc/mdstat: Permission denied
Help?
What now?
Sounds like mdadm isn't running. What is the output of:
service mdadm status
If it says it isn't running, try:
service mdadm start
What did you update?
root@omv:~# /proc/mdstat
-bash: /proc/mdstat: Permission denied
root@omv:~# service mdadm status
Usage: /etc/init.d/mdadm {start|stop|restart|reload|force-reload}
root@omv:~# service mdadm stop
root@omv:~# service mdadm status
Usage: /etc/init.d/mdadm {start|stop|restart|reload|force-reload}
root@omv:~# /proc/mdstat
-bash: /proc/mdstat: Permission denied
root@omv:~# service mdadm start
Starting MD monitoring service: mdadm --monitormdadm: No mail address or alert command - not monitoring.
failed!
Alles anzeigen
I Updated all the updates here,
I installed latest sickbeard (sickrage) using the /omv.sh method (the plugin that lets u install all the programs like cps and sickbeard)
Before that (a few days) i tried to install virtual-box, but it failed and now when I run "upgrade" I get problems with virtualbox
root@omv:~# apt-get update
Ign file: Release.gpg
Ign file:/var/cache/openmediavault/archives/ Translation-en
Ign file:/var/cache/openmediavault/archives/ Translation-en_US
Ign file: Release
Ign file: Packages
Hit http://ppa.launchpad.net precise Release.gpg
Ign http://ppa.launchpad.net/webupd8team/java/ubuntu/ precise/main Translation-en
Ign http://ppa.launchpad.net/webupd8team/java/ubuntu/ precise/main Translation-en_US
Hit http://packages.openmediavault.org sardaukar Release.gpg
Ign http://packages.openmediavault.org/public/ sardaukar/main Translation-en
Ign http://packages.openmediavault.org/public/ sardaukar/main Translation-en_US
Ign http://packages.openmediavault.org/public/ sardaukar/partner Translation-en
Ign http://packages.openmediavault.org/public/ sardaukar/partner Translation-en_US
Hit http://apt.tvheadend.org wheezy Release.gpg
Ign http://apt.tvheadend.org/stable/ wheezy/main Translation-en
Ign http://apt.tvheadend.org/stable/ wheezy/main Translation-en_US
Get:1 http://e-tobi.net squeeze Release.gpg [198 B]
Ign http://e-tobi.net/vdr-experimental/ squeeze/addons Translation-en
Ign http://e-tobi.net/vdr-experimental/ squeeze/addons Translation-en_US
Ign http://e-tobi.net/vdr-experimental/ squeeze/base Translation-en
Ign http://e-tobi.net/vdr-experimental/ squeeze/base Translation-en_US
Ign http://e-tobi.net/vdr-experimental/ squeeze/vdr-multipatch Translation-en
Ign http://e-tobi.net/vdr-experimental/ squeeze/vdr-multipatch Translation-en_US
Hit http://ppa.launchpad.net precise Release
Hit http://dl.ajaxplorer.info stable Release.gpg
Ign http://dl.ajaxplorer.info/repos/apt/ stable/main Translation-en
Ign http://dl.ajaxplorer.info/repos/apt/ stable/main Translation-en_US
Hit http://packages.openmediavault.org sardaukar Release
Hit http://apt.tvheadend.org wheezy Release
Hit http://dl.ajaxplorer.info stable Release
Hit http://debian.linuxmint.com testing Release.gpg
Ign http://debian.linuxmint.com/latest/multimedia/ testing/main Translation-en
Ign http://debian.linuxmint.com/latest/multimedia/ testing/main Translation-en_US
Ign http://debian.linuxmint.com/latest/multimedia/ testing/non-free Translation-en
Ign http://debian.linuxmint.com/latest/multimedia/ testing/non-free Translation-en_US
Hit http://ppa.launchpad.net precise/main Sources
Hit http://www.greyhole.net stable Release.gpg
Hit http://ftp.us.debian.org squeeze Release.gpg
Ign http://ftp.us.debian.org/debian/ squeeze/main Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze/main Translation-en_US
Hit http://ftp.us.debian.org squeeze-updates Release.gpg
Ign http://ftp.us.debian.org/debian/ squeeze-updates/main Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze-updates/main Translation-en_US
Ign http://ftp.us.debian.org/debian/ squeeze-updates/non-free Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze-updates/non-free Translation-en_US
Hit http://apt.tvheadend.org wheezy/main amd64 Packages
Hit http://ppa.launchpad.net precise/main amd64 Packages
Ign http://dl.ajaxplorer.info stable/main Sources
Ign http://packages.openmediavault.org sardaukar/main amd64 Packages
Hit http://e-tobi.net squeeze Release
Hit http://packages.omv-extras.org sardaukar-backports Release.gpg
Ign http://packages.omv-extras.org/debian/ sardaukar-backports/main Translation-en
Ign http://packages.omv-extras.org/debian/ sardaukar-backports/main Translation-en_US
Hit http://packages.omv-extras.org sardaukar Release.gpg
Hit http://http.us.debian.org squeeze Release.gpg
Ign http://http.us.debian.org/debian/ squeeze/contrib Translation-en
Ign http://http.us.debian.org/debian/ squeeze/contrib Translation-en_US
Ign http://http.us.debian.org/debian/ squeeze/main Translation-en
Ign http://http.us.debian.org/debian/ squeeze/main Translation-en_US
Ign http://http.us.debian.org/debian/ squeeze/non-free Translation-en
Ign http://http.us.debian.org/debian/ squeeze/non-free Translation-en_US
Ign http://packages.omv-extras.org/debian/ sardaukar/main Translation-en
Ign http://packages.omv-extras.org/debian/ sardaukar/main Translation-en_US
Hit http://packages.omv-extras.org sardaukar-testing Release.gpg
Ign http://packages.omv-extras.org/debian/ sardaukar-testing/main Translation-en
Ign http://packages.omv-extras.org/debian/ sardaukar-testing/main Translation-en_US
Hit http://packages.omv-extras.org sardaukar-vb Release.gpg
Hit http://download.virtualbox.org squeeze Release.gpg
Ign http://download.virtualbox.org/virtualbox/debian/ squeeze/contrib Translation-en
Ign http://download.virtualbox.org/virtualbox/debian/ squeeze/contrib Translation-en_US
Ign http://download.virtualbox.org/virtualbox/debian/ squeeze/non-free Translation-en
Ign http://dl.ajaxplorer.info stable/main amd64 Packages
Ign http://packages.openmediavault.org sardaukar/partner amd64 Packages
Hit http://ftp.us.debian.org squeeze Release
Hit http://debian.linuxmint.com testing Release
Hit http://dl.ajaxplorer.info stable/main Sources
Hit http://packages.openmediavault.org sardaukar/main amd64 Packages
Get:2 http://backports.debian.org squeeze-backports Release.gpg [836 B]
Get:3 http://backports.debian.org/debian-backports/ squeeze-backports/main Translation-en [247 kB]
Hit http://http.us.debian.org squeeze Release
Get:4 http://e-tobi.net squeeze/addons amd64 Packages [7,857 B]
Ign http://packages.omv-extras.org/debian/ sardaukar-vb/main Translation-en
Ign http://packages.omv-extras.org/debian/ sardaukar-vb/main Translation-en_US
Hit http://packages.omv-extras.org sardaukar-greyhole Release.gpg
Ign http://packages.omv-extras.org/debian/ sardaukar-greyhole/main Translation-en
Ign http://download.virtualbox.org/virtualbox/debian/ squeeze/non-free Translation-en_US
Ign http://packages.omv-extras.org/debian/ sardaukar-greyhole/main Translation-en_US
Hit http://packages.omv-extras.org sardaukar-vdr Release.gpg
Ign http://www.greyhole.net/releases/deb/ stable/main Translation-en
Hit http://dl.ajaxplorer.info stable/main amd64 Packages
Hit http://packages.openmediavault.org sardaukar/partner amd64 Packages
Hit http://ftp.us.debian.org squeeze-updates Release
Ign http://www.greyhole.net/releases/deb/ stable/main Translation-en_US
Hit http://debian.linuxmint.com testing/main amd64 Packages
Hit http://http.us.debian.org squeeze/main Sources
Get:5 http://e-tobi.net squeeze/base amd64 Packages [19.9 kB]
Ign http://packages.omv-extras.org/debian/ sardaukar-vdr/main Translation-en
Ign http://packages.omv-extras.org/debian/ sardaukar-vdr/main Translation-en_US
Hit http://packages.omv-extras.org sardaukar-backports Release
Hit http://packages.omv-extras.org sardaukar Release
Hit http://www.greyhole.net stable Release
Hit http://download.virtualbox.org squeeze Release
Hit http://ftp.us.debian.org squeeze/main Sources
Hit http://ftp.us.debian.org squeeze/main amd64 Packages
Hit http://debian.linuxmint.com testing/non-free amd64 Packages
Hit http://http.us.debian.org squeeze/contrib Sources
Hit http://http.us.debian.org squeeze/non-free Sources
Hit http://http.us.debian.org squeeze/main amd64 Packages
Hit http://http.us.debian.org squeeze/contrib amd64 Packages
Hit http://http.us.debian.org squeeze/non-free amd64 Packages
Get:6 http://e-tobi.net squeeze/vdr-multipatch amd64 Packages [47.2 kB]
Hit http://packages.omv-extras.org sardaukar-testing Release
Hit http://packages.omv-extras.org sardaukar-vb Release
Hit http://packages.omv-extras.org sardaukar-greyhole Release
Hit http://ftp.us.debian.org squeeze-updates/main Sources/DiffIndex
Hit http://ftp.us.debian.org squeeze-updates/non-free Sources
Hit http://ftp.us.debian.org squeeze-updates/main amd64 Packages/DiffIndex
Hit http://ftp.us.debian.org squeeze-updates/non-free amd64 Packages
Hit http://download.virtualbox.org squeeze/contrib amd64 Packages
Ign http://www.greyhole.net stable/main amd64 Packages
Hit http://packages.omv-extras.org sardaukar-vdr Release
Hit http://ftp.us.debian.org squeeze-updates/main amd64 Packages
Hit http://download.virtualbox.org squeeze/non-free amd64 Packages
Hit http://www.greyhole.net stable/main amd64 Packages
Ign http://packages.omv-extras.org sardaukar-backports/main amd64 Packages
Ign http://packages.omv-extras.org sardaukar/main amd64 Packages
Ign http://packages.omv-extras.org sardaukar-testing/main amd64 Packages
Ign http://packages.omv-extras.org sardaukar-vb/main amd64 Packages
Ign http://packages.omv-extras.org sardaukar-greyhole/main amd64 Packages
Ign http://backports.debian.org/debian-backports/ squeeze-backports/main Translation-en_US
Get:7 http://backports.debian.org/debian-backports/ squeeze-backports/non-free Translation-en [13.5 kB]
Ign http://backports.debian.org/debian-backports/ squeeze-backports/non-free Translation-en_US
Ign http://packages.omv-extras.org sardaukar-vdr/main amd64 Packages
Hit http://packages.omv-extras.org sardaukar-backports/main amd64 Packages
Hit http://packages.omv-extras.org sardaukar/main amd64 Packages
Hit http://packages.omv-extras.org sardaukar-testing/main amd64 Packages
Hit http://packages.omv-extras.org sardaukar-vb/main amd64 Packages
Get:8 http://backports.debian.org squeeze-backports Release [109 kB]
Hit http://security.debian.org squeeze/updates Release.gpg
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en_US
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en_US
Hit http://packages.omv-extras.org sardaukar-greyhole/main amd64 Packages
Hit http://packages.omv-extras.org sardaukar-vdr/main amd64 Packages
Get:9 http://backports.debian.org squeeze-backports/main amd64 Packages [386 kB]
Hit http://security.debian.org squeeze/updates Release
Hit http://security.debian.org squeeze/updates/main Sources
Hit http://security.debian.org squeeze/updates/non-free Sources
Hit http://security.debian.org squeeze/updates/main amd64 Packages
Hit http://security.debian.org squeeze/updates/non-free amd64 Packages
Get:10 http://backports.debian.org squeeze-backports/non-free amd64 Packages [15.0 kB]
Fetched 846 kB in 3s (266 kB/s)
Reading package lists... Done
root@omv:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up virtualbox (4.0.10-dfsg-1~bpo60+2) ...
insserv: script virtualbox: service vboxdrv already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing virtualbox (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of virtualbox-dkms:
virtualbox-dkms depends on virtualbox; however:
Package virtualbox is not configured yet.
Package virtualbox-4.3 which provides virtualbox is not installed.
Package virtualbox-4.2 which provides virtualbox is not installed.
dpkg: error processing virtualbox-dkms (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-qt:
virtualbox-qt depends on virtualbox (= 4.0.10-dfsg-1~bpo60+2); however:
Package virtualbox is not configured yet.
dpkg: error processing virtualbox-qt (--configure):
dependency problems - leaving unconfigured
configured to not write apport reports
configured to not write apport reports
configured to not write apport reports
Errors were encountered while processing:
virtualbox
virtualbox-dkms
virtualbox-qt
E: Sub-process /usr/bin/dpkg returned an error code (1)
Alles anzeigen
Edit:
I get an error in the log that my shares are not accessible, and that my mysql is too full.
I do not have any shared folders in omv admin (where I had a few) and I cannot access my smb shares (because they dont have access to shared folder (in omv main web screen)
Another Edit:
I installed virtualbox again and it installed correctly, I uploaded the syslog
Edit:
Since I can see my /media/5eb dir, my data is intact I just do not know how to reach it from the outside
Just noticed... You should be using this:
cat /proc/mdstat
Also, what is the output of:
dpkg -l | grep openmediavault
df -h
root@omv:~# cat /proc/mdstat
Personalities :
unused devices: <none>
root@omv:~# dpkg -l | grep openmediavault
ii openmediavault 0.5.52 Open network attached storage solution
ii openmediavault-extplorer 0.5.5 OpenMediaVault eXtplorer plugin
ii openmediavault-keyring 0.2 GnuPG archive keys of the OpenMediaVault archive
ii openmediavault-minidlna 0.5.9 OpenMediaVault miniDLNA (DLNA server) plugin
ii openmediavault-mysql 0.5.13 MySQL plugin for OpenMediaVault.
ii openmediavault-omvextrasorg 0.6.21 OMV-Extras.org Package Repositories for OpenMediaVault
ii openmediavault-owncloud 0.5.8 OpenMediaVault ownCloud plugin
ii openmediavault-transmissionbt 0.5.18 OpenMediaVault Transmission (BitTorrent client) plugin
ii openmediavault-vdr 0.5.6 VDR plugin for OpenMediaVault.
ii openmediavault-virtualbox 0.5.15 VirtualBox plugin for OpenMediaVault.
ii openmediavault-website 0.5.6 OpenMediaVault website plugin
root@omv:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 144G 44G 93G 33% /
tmpfs 879M 0 879M 0% /lib/init/rw
udev 872M 204K 872M 1% /dev
tmpfs 879M 4.0K 879M 1% /dev/shm
tmpfs 879M 84K 879M 1% /tmp
Alles anzeigen
You have a floppy drive in your system?? :lol:
I don't see anything wrong in syslog other than the raid array stopping. I assume the raid drives aren't plugged in usb ports? What is the output of:
fdisk -l
blkid
cat /etc/mdadm/mdadm.conf
No floppy, why the question??
root@omv:~# fdisk -l
Disk /dev/sda: 160.0 GB, 160040803840 bytes
255 heads, 63 sectors/track, 19457 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: 0x0000bbca
Device Boot Start End Blocks Id System
/dev/sda1 * 1 19020 152776704 83 Linux
/dev/sda2 19021 19458 3510273 5 Extended
/dev/sda5 19021 19458 3510272 82 Linux swap / Solaris
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdb: 3000.6 GB, 3000592982016 bytes
256 heads, 63 sectors/track, 363376 cylinders
Units = cylinders of 16128 * 512 = 8257536 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 266306 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.
Disk /dev/sdc: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders
Units = cylinders of 16065 * 512 = 8225280 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
Disk /dev/sdd: 3000.6 GB, 3000591900160 bytes
255 heads, 63 sectors/track, 364801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/sdd doesn't contain a valid partition table
Alles anzeigen
root@omv:~# cat /etc/mdadm/mdadm.conf
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#
# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
# Note, if no DEVICE line is present, then "DEVICE partitions" is assumed.
# To avoid the auto-assembly of RAID devices a pattern that CAN'T match is
# used if no RAID devices are configured.
DEVICE partitions
# 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>
# definitions of existing MD arrays
Alles anzeigen
blkid hangs for a long time
According to syslog, there is a floppy...
If you have a raid array, there is no evidence of it. blkid would tell me more but since it is hanging, I would guess you have one or more drives failing or bad cables or bad motherboard (if the drives aren't connected by usb).
root@omv:~# blkid
/dev/sda1: UUID="faa5130c-6167-40dc-91dd-763e8eaeeb76" TYPE="ext4"
/dev/sda5: UUID="0ec15acf-4503-42b0-8f4b-99be9135ecd5" TYPE="swap"
/dev/sdb1: UUID="7dbda842-31b7-80c6-ea9c-aac8e318eab2" LABEL="openmediavault:missing" TYPE="linux_raid_member"
/dev/sdd: UUID="7dbda842-31b7-80c6-ea9c-aac8e318eab2" LABEL="openmediavault:missing" TYPE="linux_raid_member"
/dev/sdc: UUID="7dbda842-31b7-80c6-ea9c-aac8e318eab2" LABEL="openmediavault:missing" TYPE="linux_raid_member"
root@omv:~#
Did you create the raid array in the OMV web interface? Strange that one drive is using a partition. You could try the following:
I think blkid is taking a long time because of the floppy drive it thinks is there. You should disable the floppy controller (fdc) in the bios.
Why did you create the array in cli? Looks like sdd is having problems. You should be able to access your array now though.
it did not work for me in web because I started with 2 disks only (degragaded)
and there was no way to do that in web
I can access my files, but not all of them, heck only a smal portion can be seen at all
this is not good
So how can I start to see and restore my data, because I lost a lot of (I do not see it), and it says that only 1 drive is gone bad so where are my files?
If the array isn't rebuilding and your files aren't there, I am afraid there isn't much you can do other than try to recover them with photorec.
Ok, so to make a very long story shorter.
After all this I rebooted my server, and took out the defective disk.
The array said degrageted, and started to work. (2 disks)
I was rejoiced.
I thought I was in the clear, one disk down, but no biggie.
I rebooted the server again, without backing my important data.
It did not come up....
apparently there were disk prooblems, that fsck needed to start fixing, and it would not start, (I got the message on a subsequent reboot, that it has not been run for 25 reboots and so it would run).
Well, I finnaly managed to do a little fixing, (stopped in the middle of it because I did not know what it was doing exactly, and because it wanted me to do it manually, "yes","yes", "yes", "yes" - it gets tiresome.
My raid actually came up and I copied a terra of stuff (documents, pictures, kids stuff in hebrew which is very hard to come by).
and now when I boot it says I need to do ctrl+d to resume login or manual fcsk.
I am thinking about reformatting the whole raid (now that my import stuff is safe - I can download movies, and tv shows later).
What do you think? manual fixing or refromat?
It tells you that the drive you've removed is gone missing... thats all.
Greetings
David
The degragaded was actually a blessing, because after that I was able to get my data.
Do you think that running an fsck on a degraded raid 5 will show errors that are not there?
So are you saying the errors I see are not real?
I'm onlx talking about the ctrl+d message, not about anything that fsck may show you.
Greetings
David
So here is where I am at right now (and I do realize I get into stuff becuase I jump, instead of crawling, but this is how I learn).
I bought a new drive, and put it in the machine,could not load the raid, because it wold not alow me so I said, f*** it, lets go with bruth force (not the best idea I know , but I am tired of this ).
I wiped the drives in the omv console (physical disks), and added the drive in system (thinking if all the drives are wiped the raid will go away).
Then I preceded to create a new raid 5 (using omv console). That took like 17 hours and now it reports that my raid is ok.
But....
1. in storage/file systems - I see device:n/a mounted:n/a ... and I cannot delete this line (which I figure is relevant to the old raid?), nor can I create a file system for the new raid.
2. when I do " ls -la /media/", I still see directories "5eb927dd-91b5-4c42-9d37-ac34832a6384" (which is the old raid, where is it comming from?)
root@omv:~# ls -la /media/
total 24
drwxr-xr-x 6 root root 4096 Mar 18 23:39 .
drwxr-xr-x 30 root root 4096 Jul 10 07:33 ..
drwx------ 6 root root 4096 Jul 1 20:59 5eb927dd-91b5-4c42-9d37-ac34832a6384
drwxr-xr-x 2 admin users 4096 Mar 18 23:39 backup
lrwxrwxrwx 1 root root 6 Dec 7 2013 cdrom -> cdrom0
drwxr-xr-x 2 root root 4096 Dec 7 2013 cdrom0
lrwxrwxrwx 1 root root 7 Dec 7 2013 floppy -> floppy0
drwxr-xr-x 2 root root 4096 Dec 7 2013 floppy0
root@omv:~# ls -la /media/5eb927dd-91b5-4c42-9d37-ac34832a6384/
total 24
drwx------ 6 root root 4096 Jul 1 20:59 .
drwxr-xr-x 6 root root 4096 Mar 18 23:39 ..
drwxr-xr-x 3 root root 4096 Jul 1 19:53 downloads
drwxr-xr-x 5 root root 4096 Jul 11 12:24 general
drwxrwxrwx 12 root root 4096 Jul 8 19:19 torrents
drwx------ 3 root root 4096 Jul 1 20:59 tv
Edit - add data:
root@omv:~# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md0 : active raid5 sdb[0] sdd[2] sdc[1]
5860528128 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
unused devices: <none>
root@omv:~# fdisk -l
Disk /dev/sda: 160.0 GB, 160040803840 bytes
255 heads, 63 sectors/track, 19457 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: 0x0000bbca
Device Boot Start End Blocks Id System
/dev/sda1 * 1 19020 152776704 83 Linux
/dev/sda2 19021 19458 3510273 5 Extended
/dev/sda5 19021 19458 3510272 82 Linux swap / Solaris
Disk /dev/sdb: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders
Units = cylinders of 16065 * 512 = 8225280 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: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders
Units = cylinders of 16065 * 512 = 8225280 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
Disk /dev/sdd: 3000.6 GB, 3000591900160 bytes
255 heads, 63 sectors/track, 364801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/sdd doesn't contain a valid partition table
Disk /dev/md0: 6001.2 GB, 6001180803072 bytes
2 heads, 4 sectors/track, 1465132032 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 524288 bytes / 1048576 bytes
Disk identifier: 0x00000000
Disk /dev/md0 doesn't contain a valid partition table
Alles anzeigen
root@omv:~# cat /etc/mdadm/mdadm.conf
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#
# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
# Note, if no DEVICE line is present, then "DEVICE partitions" is assumed.
# To avoid the auto-assembly of RAID devices a pattern that CAN'T match is
# used if no RAID devices are configured.
DEVICE partitions
# 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>
# definitions of existing MD arrays
ARRAY /dev/md0 metadata=1.2 name=omv:NewRaid UUID=c234f0e0:aa4a7316:7bddb677:b613572c
Alles anzeigen
root@omv:~# blkid
/dev/sda1: UUID="faa5130c-6167-40dc-91dd-763e8eaeeb76" TYPE="ext4"
/dev/sda5: UUID="0ec15acf-4503-42b0-8f4b-99be9135ecd5" TYPE="swap"
/dev/sdb: UUID="c234f0e0-aa4a-7316-7bdd-b677b613572c" LABEL="omv:NewRaid" TYPE="linux_raid_member"
/dev/sdc: UUID="c234f0e0-aa4a-7316-7bdd-b677b613572c" LABEL="omv:NewRaid" TYPE="linux_raid_member"
/dev/md0: UUID="7dbda842-31b7-80c6-ea9c-aac8e318eab2" LABEL="openmediavault:missing" TYPE="linux_raid_member"
/dev/sdd: UUID="c234f0e0-aa4a-7316-7bdd-b677b613572c" LABEL="omv:NewRaid" TYPE="linux_raid_member"
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!