Re: [PATCH 2/2] mdadm: remove journal with "remove-journal"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/16/2017 12:55 PM, Song Liu wrote:
On Nov 16, 2017, at 9:35 AM, Larkin Lowrey <llowrey@xxxxxxxxx> wrote:

# mdadm /dev/md124 --fail /dev/md127p4
mdadm: set /dev/md127p4 faulty in /dev/md124

# mdadm /dev/md124 --remove /dev/md127p4
mdadm: hot removed /dev/md127p4 from /dev/md124

# cat /sys/block/md124/md/consistency_policy
journal

# echo resync > /sys/block/md124/md/consistency_policy

# cat /sys/block/md124/md/consistency_policy
resync
Could you please try the following command here:

echo active > /sys/block/md124/md/array_state


# mdadm --stop /dev/md124
mdadm: stopped /dev/md124

# mdadm --assemble /dev/md124 /dev/md12[23] /dev/sd[goqpjfl]1
mdadm: Not safe to assemble with missing or stale journal device, consider --force.

This worked, thanks!

--Larkin
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux