public inbox for linux-raid@vger.kernel.org
 help / color / mirror / Atom feed
* RAID 1 | Changing HDs
@ 2025-09-03 11:55 Stefanie Leisestreichler (Febas)
  2025-09-03 12:19 ` Reindl Harald
                   ` (3 more replies)
  0 siblings, 4 replies; 19+ messages in thread
From: Stefanie Leisestreichler (Febas) @ 2025-09-03 11:55 UTC (permalink / raw)
  To: linux-raid

Hi.
I have the system layout shown below.

To avoid data loss, I want to change HDs which have about 46508 hours of 
up time.

I thought, instead of degrading, formatting, rebuilding and so on, I could
- shutdown the computer
- take i.e. /dev/sda and do
- dd bs=98304 conv=sync,noerror if=/dev/sda of=/dev/sdX (X standig for 
device name of new disk)

Is it save to do it this way, presuming the array is in AA-State?

Thanks,
Steffi

/dev/sda1:
           Magic : a92b4efc
         Version : 1.2
     Feature Map : 0x0
      Array UUID : 68c0c9ad:82ede879:2110f427:9f31c140
            Name : speernix15:0  (local to host speernix15)
   Creation Time : Sun Nov 30 19:15:35 2014
      Raid Level : raid1
    Raid Devices : 2

  Avail Dev Size : 1953260976 (931.39 GiB 1000.07 GB)
      Array Size : 976629568 (931.39 GiB 1000.07 GB)
   Used Dev Size : 1953259136 (931.39 GiB 1000.07 GB)
     Data Offset : 262144 sectors
    Super Offset : 8 sectors
    Unused Space : before=261864 sectors, after=1840 sectors
           State : active
     Device UUID : 5871292c:7fcfbd82:b0a28f1b:df7774f9

     Update Time : Thu Aug 28 01:00:03 2025
   Bad Block Log : 512 entries available at offset 264 sectors
        Checksum : b198f5d1 - correct
          Events : 38185

    Device Role : Active device 0
    Array State : AA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdb1:
           Magic : a92b4efc
         Version : 1.2
     Feature Map : 0x0
      Array UUID : 68c0c9ad:82ede879:2110f427:9f31c140
            Name : speernix15:0  (local to host speernix15)
   Creation Time : Sun Nov 30 19:15:35 2014
      Raid Level : raid1
    Raid Devices : 2

  Avail Dev Size : 1953260976 (931.39 GiB 1000.07 GB)
      Array Size : 976629568 (931.39 GiB 1000.07 GB)
   Used Dev Size : 1953259136 (931.39 GiB 1000.07 GB)
     Data Offset : 262144 sectors
    Super Offset : 8 sectors
    Unused Space : before=261864 sectors, after=1840 sectors
           State : active
     Device UUID : 4bbfbe7a:457829a5:dd9d2e3c:15818bca

     Update Time : Thu Aug 28 01:00:03 2025
   Bad Block Log : 512 entries available at offset 264 sectors
        Checksum : 144ff0ef - correct
          Events : 38185



^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2025-09-04 17:13 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-03 11:55 RAID 1 | Changing HDs Stefanie Leisestreichler (Febas)
2025-09-03 12:19 ` Reindl Harald
2025-09-03 13:20   ` Stefanie Leisestreichler (Febas)
2025-09-03 14:00     ` Reindl Harald
2025-09-03 14:26       ` Stefanie Leisestreichler (Febas)
2025-09-03 21:59         ` Reindl Harald
2025-09-04 17:04           ` Stefanie Leisestreichler (Febas)
2025-09-03 12:35 ` Hannes Reinecke
2025-09-03 12:49   ` Stefanie Leisestreichler (Febas)
2025-09-03 15:45 ` Roman Mamedov
2025-09-03 16:58   ` Michael Reinelt
2025-09-03 17:28     ` Roman Mamedov
2025-09-03 17:47   ` Stefanie Leisestreichler (Febas)
2025-09-03 17:57     ` Pascal Hambourg
2025-09-03 19:19       ` Stefanie Leisestreichler (Febas)
2025-09-03 19:50     ` Wol
2025-09-04 17:06       ` Stefanie Leisestreichler (Febas)
2025-09-03 15:59 ` anthony
2025-09-04 17:13   ` Stefanie Leisestreichler (Febas)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox