Sponsored Content
Full Discussion: Broken raid
Top Forums UNIX for Dummies Questions & Answers Broken raid Post 302691617 by MaRiOsGR on Saturday 25th of August 2012 05:51:46 AM
Old 08-25-2012
Broken raid

Hello, I have 2 servers with broken raid 1, but each one gives me a different
error, I dont know what is the difference.

Code:
[root@ ~]# cat /proc/mdstat
Personalities : [raid1] [raid0] [raid6] [raid5] [raid4] [raid10]
md0 : active raid1 sdb1[2](F) sda1[0]
      2102464 blocks [2/1] [U_]

md1 : active raid1 sdb2[2](F) sda2[0]
      264960 blocks [2/1] [U_]

md2 : active raid1 sdb3[2](F) sda3[0]
      730202368 blocks [2/1] [U_]

unused devices: <none>

Code:
[root@ ~]# cat /proc/mdstat
Personalities : [raid1] [raid0] [raid6] [raid5] [raid4] [raid10]
md0 : active raid1 sda1[1]
      2102464 blocks [2/1] [_U]

md1 : active raid1 sda2[1]
      264960 blocks [2/1] [_U]

md2 : active raid1 sda3[1]
      730202368 blocks [2/1] [_U]

unused devices: <none>

 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Broken

Ok i am running Linux, or rather was. I can not longer do anything. This was a dns server amoungst other things. It will no longer boot. I have used a startup disk, but how can i recover the OS? I need help and urgently. Please someone thanks (3 Replies)
Discussion started by: ollyparkhouse
3 Replies

2. UNIX for Dummies Questions & Answers

RAID software vs hardware RAID

Hi Can someone tell me what are the differences between software and hardware raid ? thx for help. (2 Replies)
Discussion started by: presul
2 Replies

3. Solaris

implementing RAID 1 from RAID 5

Dear ALl, I have a RAID 5 volume which is as below d120 r 60GB c1t2d0s5 c1t3d0s5 c1t4d0s5 c1t5d0s5 d7 r 99GB c1t2d0s0 c1t3d0s0 c1t4d0s0 c1t5d0s0 d110 r 99GB c1t2d0s4 c1t3d0s4 c1t4d0s4 c1t5d0s4 d8 r 99GB c1t2d0s1 c1t3d0s1... (2 Replies)
Discussion started by: jegaraman
2 Replies

4. Solaris

Creation of Raid 01 and Raid 10

Hello All, I have read enough of texts on Raid 01 and Raid 10 on solaris :wall: . But no-where found a way to create them using SVM. Some one pls tell me how to do or Post some link if that helps. TIA Curious solarister (1 Reply)
Discussion started by: Solarister
1 Replies

5. AIX

SCSI PCI - X RAID Controller card RAID 5 AIX Disks disappeared

Hello, I have a scsi pci x raid controller card on which I had created a disk array of 3 disks when I type lspv ; I used to see 3 physical disks ( two local disks and one raid 5 disk ) suddenly the raid 5 disk array disappeared ; so the hardware engineer thought the problem was with SCSI... (0 Replies)
Discussion started by: filosophizer
0 Replies

6. Solaris

Software RAID on top of Hardware RAID

Server Model: T5120 with 146G x4 disks. OS: Solaris 10 - installed on c1t0d0. Plan to use software raid (veritas volume mgr) on c1t2d0 disk. After format and label the disk, still not able to detect using vxdiskadm. Question: Should I remove the hardware raid on c1t2d0 first? My... (4 Replies)
Discussion started by: KhawHL
4 Replies

7. Red Hat

Broken pipe

Hi all, I am trying to run a sleep command and I am receiving a broken pipe when I execute. any help would be greatly appreciated. sleep `< /dev/urandom tr -dc 0-6 | head -c2` (2 Replies)
Discussion started by: gartie
2 Replies

8. Red Hat

RAID Configuration for IBM Serveraid-7k SCSI RAID Controller

Hello, I want to delete a RAID configuration an old server has. Since i haven't the chance to work with the specific raid controller in the past can you please help me how to perform the configuraiton? I downloaded IBM ServeRAID Support CD but i wasn't able to configure the video card so i... (0 Replies)
Discussion started by: @dagio
0 Replies
MKFS.BTRFS(8)						      System Manager's Manual						     MKFS.BTRFS(8)

NAME
mkfs.btrfs - create a btrfs filesystem SYNOPSIS
mkfs.btrfs [ -A alloc-start ] [ -b byte-count ] [ -d data-profile ] [ -f ] [ -n nodesize ] [ -l leafsize ] [ -L label ] [ -m metadata pro- file ] [ -M mixed data+metadata ] [ -s sectorsize ] [ -r rootdir ] [ -K ] [ -O feature1,feature2,... ] [ -h ] [ -V ] device [ device ... ] DESCRIPTION
mkfs.btrfs is used to create a btrfs filesystem (usually in a disk partition, or an array of disk partitions). device is the special file corresponding to the device (e.g /dev/sdXX ). If multiple devices are specified, btrfs is created spanning across the specified devices. OPTIONS
-A, --alloc-start offset Specify the offset from the start of the device to start the btrfs filesystem. The default value is zero, or the start of the device. -b, --byte-count size Specify the size of the resultant filesystem. If this option is not used, mkfs.btrfs uses all the available storage for the filesys- tem. -d, --data type Specify how the data must be spanned across the devices specified. Valid values are raid0, raid1, raid5, raid6, raid10 or single. -f, --force Force overwrite when an existing filesystem is detected on the device. By default, mkfs.btrfs will not write to the device if it suspects that there is a filesystem or partition table on the device already. -n, --nodesize size -l, --leafsize size Specify the nodesize, the tree block size in which btrfs stores data. The default value is the page size. Must be a multiple of the sectorsize, but not larger than 65536. Leafsize always equals nodesize and the options are aliases. -L, --label name Specify a label for the filesystem. -m, --metadata profile Specify how metadata must be spanned across the devices specified. Valid values are raid0, raid1, raid5, raid6, raid10, single or dup. Single device will have dup set by default except in the case of SSDs which will default to single. This is because SSDs can remap blocks internally so duplicate blocks could end up in the same erase block which negates the benefits of doing metadata dupli- cation. -M, --mixed Mix data and metadata chunks together for more efficient space utilization. This feature incurs a performance penalty in larger filesystems. It is recommended for use with filesystems of 1 GiB or smaller. -s, --sectorsize size Specify the sectorsize, the minimum data block allocation unit. The default value is the page size. If the sectorsize differs from the page size, the created filesystem may not be mountable by current kernel. Therefore it is not recommended to use this option unless you are going to mount it on a system with the appropriate page size. -r, --rootdir rootdir Specify a directory to copy into the newly created fs. -K, --nodiscard Do not perform whole device TRIM operation by default. -O, --features feature1,feature2,... A list of filesystem features turned on at mkfs time. Not all features are supported by old kernels. To see all run mkfs.btrfs -O list-all -V, --version Print the mkfs.btrfs version and exit. UNIT
As default the unit is the byte, however it is possible to append a suffix to the arguments like k for KBytes, m for MBytes... AVAILABILITY
mkfs.btrfs is part of btrfs-progs. Btrfs is currently under heavy development, and not suitable for any uses other than benchmarking and review. Please refer to the btrfs wiki http://btrfs.wiki.kernel.org for further details. SEE ALSO
btrfsck(8) MKFS.BTRFS(8)
All times are GMT -4. The time now is 02:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy