deactivating RAID1

Issues related to applications and software problems
Post Reply
nix99
Posts: 20
Joined: 2014/03/31 05:04:08

deactivating RAID1

Post by nix99 » 2014/04/16 21:03:21

Hi..

What are the proper/safe steps to deactivate Raid1 inorder to use the second disk for backup or other use?

results of "fdisk -l":

-------------------------------
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 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: 0x00000000

Device Boot Start End Blocks Id System
/dev/sda1 1 243202 1953514583+ ee GPT

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 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: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdb1 1 243202 1953514583+ ee GPT

Disk /dev/md3: 1978.9 GB, 1978886193152 bytes
2 heads, 4 sectors/track, 483126512 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa1609514

Device Boot Start End Blocks Id System
/dev/md3p1 1 235929601 943718402 83 Linux
/dev/md3p2 235929602 483126512 988787644 83 Linux

Disk /dev/md2: 21.0 GB, 20970405888 bytes
2 heads, 4 sectors/track, 5119728 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xd4fc5e58

Device Boot Start End Blocks Id System
/dev/md2p1 1 5119728 20478910 83 Linux
-------------------------------

results of "parted -l":
--------------------------------
Model: ATA HGST HUS724020AL (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 20.5kB 1049kB 1029kB primary bios_grub
2 2097kB 21.0GB 21.0GB ext3 primary raid
3 21.0GB 2000GB 1979GB ext3 primary raid
4 2000GB 2000GB 536MB linux-swap(v1) primary


Model: ATA HGST HUS724020AL (scsi)
Disk /dev/sdb: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 20.5kB 1049kB 1029kB primary bios_grub
2 2097kB 21.0GB 21.0GB ext3 primary raid
3 21.0GB 2000GB 1979GB ext3 primary raid
4 2000GB 2000GB 536MB linux-swap(v1) primary


Model: Unknown (unknown)
Disk /dev/md3: 1979GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 2048B 966GB 966GB primary
2 966GB 1979GB 1013GB primary


Model: Unknown (unknown)
Disk /dev/md2: 21.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 2048B 21.0GB 21.0GB primary
--------------------------------

cat /proc/mdstat:
-----------------------------------

Personalities : [raid1]
md2 : active raid1 sda2[0] sdb2[1]
20478912 blocks [2/2] [UU]

md3 : active raid1 sda3[0] sdb3[1]
1932506048 blocks [2/2] [UU]

unused devices: <none>
----------------------------------

Thanks.

Post Reply