Sponsored Content
Top Forums UNIX for Advanced & Expert Users Revive RAID 0 Array From Buffalo Duo NAS Post 303026438 by metallica1973 on Tuesday 27th of November 2018 08:15:18 PM
Old 11-27-2018
I changed machines to a raspberry pi. Could it be that when I assembled the array, I did it as raid 0 when it needed to be raid 1? The reason I ask this is because I see this from lsblk as in:
Code:
sudo lsblk 
NAME        MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda           8:0    0 931.5G  0 disk  
├─sda1        8:1    0   977M  0 part  
│ └─md126     9:126  0   977M  0 raid1 
├─sda2        8:2    0   4.8G  0 part  
│ └─md125     9:125  0   4.8G  0 raid1 
├─sda3        8:3    0     1M  0 part  
├─sda4        8:4    0     1M  0 part  
├─sda5        8:5    0   977M  0 part  
│ └─md124     9:124  0   977M  0 raid1 
└─sda6        8:6    0 917.2G  0 part  
  └─md127     9:127  0   1.8T  0 raid0 
sdb           8:16   0 931.5G  0 disk  
├─sdb1        8:17   0   977M  0 part  
│ └─md126     9:126  0   977M  0 raid1 
├─sdb2        8:18   0   4.8G  0 part  
│ └─md125     9:125  0   4.8G  0 raid1 
├─sdb3        8:19   0     1M  0 part  
├─sdb4        8:20   0     1M  0 part  
├─sdb5        8:21   0   977M  0 part  
│ └─md124     9:124  0   977M  0 raid1 
└─sdb6        8:22   0 917.2G  0 part  
  └─md127     9:127  0   1.8T  0 raid0 
mmcblk0     179:0    0   1.9G  0 disk  
├─mmcblk0p1 179:1    0  43.2M  0 part  /boot
└─mmcblk0p2 179:2    0   1.8G  0 part  /

? Should i have been:
Code:
sudo mdadm --create /dev/md127 --assume-clean --level=1 --verbose --chunk=64 --raid-devices=2 --metadata=0.90 /dev/sda6 /dev/sdb6

If I resamble it as a raid 1, will it destroy the data?
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Percent complete error while scanning RAID array during 5.0.6 load

Percent complete SCO 5.0.6 / No longer an issue (0 Replies)
Discussion started by: Henrys
0 Replies

2. AIX

RAID level of array = false?

I created a RAID 5 array and when I list out the attributes of the "hdisk" it reports back raid_level = 5 but the RAID level of the array = false. What does this actually indicate about my array? I've never paid much attention to this until now since I have a disk reporting failure I want to make... (0 Replies)
Discussion started by: scottsl
0 Replies

3. UNIX for Advanced & Expert Users

Create RAID - Smart Array Tool - ML370

Hi guys, i must install an old old old ml370 server... I must create a RAID 5 with my 4 SCSI disk. I need a SmartStart disk for create it or a Floppy Disk called "Array configuration Tool". I don't find it on the hp website...:mad::mad::mad: Anyone have it?? Thanks in advance. Zio (0 Replies)
Discussion started by: Zio Bill
0 Replies

4. Solaris

EFI Disk labels on 3510 raid array

Hi Peeps, Can anyone help me an EFI lablel on a 3510 raid array that I cannot get rid of, format -e and label just asks you if you want to label it. Want an SMI label writing to it. Anyone got any ideas on how to remove the EFI label? Thanks in advance Martin (2 Replies)
Discussion started by: callmebob
2 Replies

5. Emergency UNIX and Linux Support

Loading a RAID array after OS crash

One of my very old drive farm servers had an OS fault and can't boot now but I'd like to restore some files from it. I tried booting Ubuntu from a CD, but it couldn't see the drives -- possibly because they're RAIDed together. Is there a good way to get at my files? The data in question is a... (2 Replies)
Discussion started by: CRGreathouse
2 Replies

6. Red Hat

missing raid array after reboot

Dear all , i ve configured raid 0 in redhat machine(VM ware), by following steps: #mdadm -C /dev/md0 -l 0 -n 2 /dev/sdb1 /dev/sdc1 #mkfs.ext3 /dev/md0 #mdadm --detail --scan --config=mdadm.conf >/etc/mdadm.conf then mounted the/dev/md0 device and also added a entry in fstab. how... (2 Replies)
Discussion started by: sriniv666
2 Replies

7. Debian

Best RAID settings for Debian Server? Help!! (1+0 or 5 or NAS)

I am installing a Debian Server on a: HP Proliant DL380 G4 Dual CPU's 3.20 ghz / 800 mhz / 1MB L2 5120 MB RAM 6 hard disks on HP Smart Array 6i controller (36.4 GB Ultra320 SCSI HD each) I will be using this server to capture VHS video, encode, compress, cut, edit, make DVD's, rip... (0 Replies)
Discussion started by: Marcus Aurelius
0 Replies

8. What is on Your Mind?

Revive Ad Server MySQL Injection Attack

No rest for the weary, a Revive Ad Server I am responsible for experienced a MySQL injection attack due to a vulnerability uncovered in the past few months. I was busy developing Vue.js code for the forums and thought to myself "I will get around to upgrading to Revive 4.2.0 (supposedly the... (0 Replies)
Discussion started by: Neo
0 Replies
MKFS.BTRFS(8)						      System Manager's Manual						     MKFS.BTRFS(8)

NAME
mkfs.btrfs - create an btrfs filesystem SYNOPSIS
mkfs.btrfs [ -A alloc-start ] [ -b byte-count ] [ -d data-profile ] [ -l leafsize ] [ -L label ] [ -m metadata profile ] [ -n nodesize ] [ -s sectorsize ] [ -h ] [ -V ] device [ device ... ] DESCRIPTION
mkfs.btrfs is used to create an 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, raid10 or single. -l, --leafsize size Specify the leaf size, the least data item in which btrfs stores data. The default value is the page size. -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, raid10 or single. -n, --nodesize size Specify the nodesize. By default the value is set to the pagesize. -s, --sectorsize size Specify the sectorsize, the minimum block allocation. -V, --version Print the mkfs.btrfs version and exit. 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 06:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy