On Wed, 2021-02-17 at 21:59 -0800, John Jason Jordan wrote:
> On Thu, 18 Feb 2021 00:27:25 -0500
> Tomas Kuchta <[email protected]> dijo:
>
> > > And before umount/mount I pulled the TB3 plug from the enclosure,
> > > waited a couple of minutes, then plugged it back in, but I was
> > > still
> > > unable to access any of the files. It should have automatically
> > > mounted, because that's what TB3 does.
> > That might work with single disk if you run sync beforehand and
> > nothing
> > accesses the disk.
>
> I never heard of 'sync.' Is that a command?
>
> > Definitely not a good idea to unplug disk array without clean
> > unmount
> > and stopping mdadm.
>
> I have had numerous RAID0 arrays, and I never had to stop mdadm
> before
> mounting/unmounting. I don't even know how to stop mdadm.
>
> > You say that .... in the past was great. Your past and current
> > problems
> > would indicate that it was not all great in the past - or you
> > runout of
> > luck.
>
> I think I need some education. An mdadm array is apparently not the
> same
> as a disk, but how it's different and how to deal with it is
> something
> I need to learn about.
>
Note: My advice is: Never let the array or TB go to sleep - SSDs can
sleep to save power if mdraid lets them.
There are two ways to cleanly stop raid array:
1. Easiest:
sudo shutdown -h
2. If you need to change configuration, add/remove disks, etc.
Copy
paste from:
-Tomas
_______________________________________________
PLUG: https://pdxlinux.org
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug