Sponsored Content
Operating Systems Linux Ubuntu Md0 raid don't see my folders Post 303029077 by tomislav91 on Sunday 20th of January 2019 03:07:10 PM
Old 01-20-2019
Quote:
Originally Posted by hicksd8
The question is, why was this raid1 array rebuilding?

It could be that the resilvering has, for some reason, occurred in the wrong direction, meaning that your replacement disk has been mirrored over the running disk causing the data to be lost.

Did you initiate the rebuild of the raid1? Or did it start automatically?
Do I have some chance to restore md0 or I must get data back and make raid again
 

8 More Discussions You Might Find Interesting

1. Solaris

RAID 5 mount points don't automount on boot

Hi, I set up a RAID 5 configuration and for some reason the volumes won't mount when the system boots. I have to manually mount them from the command line and all is fine. Here's the vfstab entries: #device device mount FS fsck mount mount #to mount ... (2 Replies)
Discussion started by: rpollard001
2 Replies

2. UNIX for Advanced & Expert Users

Bad magic number on /dev/md0

Hello All, (RHEL4) Few weeks ago I had posted a message in this forum about the problem I had when I replaced my two scsi disks and tried rebuild raid1 array. I somehow managed to up the system with working raid1 array. But the main problem persisted.. i.e when I reboot the system, mounting... (0 Replies)
Discussion started by: ravinandan
0 Replies

3. UNIX for Dummies Questions & Answers

Copying multiple folders to local machine (don't know folder names)

Hi. I'm trying to copy multiple folders from the remote machine to the local machine. I wrote a batch file to run an ftp window. The problem I am having is that the only command to copy files is mget *, and this copies only files, not folders. For example, ftp ts555 cd ts555/test ' test... (5 Replies)
Discussion started by: leenyburger
5 Replies

4. 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

5. Linux

If i don't have raid disks can i shut down dmraid device-mapper?

hello my centOS newly installed system loading dmraid modules on startup I did remove all LVM/raid things from system installation menus and after installation too but dmraid is still there and he says: no raid disks found also I did modprobe -r dm_raid45 and it do remove it but only until... (7 Replies)
Discussion started by: tip78
7 Replies

6. 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

7. 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

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
LSRAID(8)							Linus md Utilities							 LSRAID(8)

NAME
lsraid - List and query Linux md devices. SYNOPSIS
lsraid -A [-g|-s|-f] {-a <device> | -d <device>} ... lsraid -A -p lsraid -D [-l] {-a <device> | -d <device>} ... lsraid -D -p lsraid -R {-a <device> | -d <device>} ... lsraid -R -p lsraid -h lsraid -V DESCRIPTION
lsraid is a program for querying Linux md devices. It can describe the composite device and the block devices that belong to it. It can also provide a description of the md device suitable for including in the /etc/raidtab configuration file. lsraid also has the ability to operate on online and offline devices. It can read an online device via the kernel interface and provide information about it. When a device is offline, lsraid can look at any of the block devices that are a part of the md device and read the persistent md superblock for information. OPTIONS
-A Selects array-based operation. lsraid will query the given devices and output a short listing of the referenced md devices. -a <device> Adds md device <device> to the list of devices to query. If the device is online, lsraid will discover all of the block devices that belong to it via the kernel interface. Otherwise lsraid will only be able to verify that the device exists. -D Selects disk-based operation. lsraid will query the given devices and then output a description of all the member disks requested. -d <device> Adds block device <device> to the list of devices to query. lsraid will read the md superblock off of <device> and use it to discover the assocated md device and block devices. -f Displays only failed block devices in array-based mode (-A). -g Displays only good block devices in array-based mode (-A). -h, --help Displays a short usage message, then exits. -l Displays a long dump of block device superblocks in disk-based mode (-D). This output is verbatim from the on-disk md superblock, and reflects the state on the specific disk, not the state the md device currently considers authorative. -p Scans all block devices in /proc/partitions for RAID arrays. This can be slow in the presence of network block devices and the like. This option is mutually exclusive with the -a and -d options. -R Selects raidtab operation. lsraid will query all the devices specified and output a description of the referenced md devices in a for- mat suitable for placing in a raidtab(5) file. -s Displays only spare block devices in array-based mode (-A). NOTES
lsraid cannot discover the block devices that make up an offline md device. Providing one of the member devices with the -d option allows lsraid to discover the rest of the information about the offline md device. Disk-based operation only displays the block devices specified on the command line. Specify the md device on the command line to see information about all of the member disks. If the md device is offline, specify both the md device and one of the member disks. lsraid does not do any special handling of md devices composed of other md devices (eg RAID 1+0). The member devices are merely treated as block devices while in the context of the parent device. This is only an issue for raidtab-based operation. The raidtab(5) output will be printed in the order the md devices are queried. This means that a command creating a raidtab(5) for a RAID 1+0 device should list the member devices first on the command line. EXAMPLES
lsraid -A -a /dev/md0 Display a short listing of the md0 device. lsraid -A -d /dev/sda1 Display a short listing of the array that sda1 belongs to. lsraid -A -f -a /dev/md0 Display the failed devices belonging to the md0 device. lsraid -D -l -a /dev/md0 Display a long dump of the on-disk md superblock of every disk in md0. lsraid -D -a /dev/md0 -d /dev/sda1 Display a short discription of the disks in md0 as well as a short description of the disk sda1. sda1 will only be described once if it belongs to md0. lsraid -R -a /dev/md0 -a /dev/md1 -a /dev/md2 Display a description of the arrays in an output format suitable for using in raidtab(5) files. Note that if md0 and md1 are raid0 arrays and md2 is a raid1 created from md0 and md1, this command will output the information in the correct order. lsraid -R -p Scan all block devices in /proc/partitions and display all discovered md devices in a format suitable for using in raidtab(5) files. BUGS
Probably. SEE ALSO
mkraid(8), raidtab(5), raidstart(8), raidstop(8) VERSION
lsraid version 0.7.0 (26 March 2002) HISTORY
Version 0.7.0 Added scanning of active block device partitions. Version 0.4.0 Initial documented version. Functionally complete. AUTHOR
Joel Becker <joel.becker@oracle.com> COPYRIGHT
Copyright (C) Oracle Corporation, Joel Becker. All rights reserved. This program is free software; see the file COPYING in the source distribution for the terms under which it can be redistributed and/or modified. 3rd Berkeley Distribution 2002-03-26 LSRAID(8)
All times are GMT -4. The time now is 08:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy