wiki:Raid

Version 1 (modified by ypap, 11 months ago) ( diff )

--

RAID setup

In order to setup a RAID array on a machine that already had a RAID array:

root@somemachine:~# cat /proc/mdstat
root@somemachine:~# mdadm --assemble --scan # Scans existing configs and assembles the raid
root@somemachine:~# lvs		# see the logical volumes
root@somemachine:~# vgscan	# read all physical volumes
root@somemachine:~# mount /dev/dm-0 /local
					/dev/mapper/vg-.. is a symbolic link to dm-0
					/dev/md0 will not be mounted

root@somemachine:~# lsof -n | grep (mount point or device) # see who uses this mount point or device
Note: See TracWiki for help on using the wiki.