How to change /dev/sda to /dev/disk/by-id/ata-WDC_WD40EFRX-68N32N0_WD-WCC7K5SV0RHJ #14647
Replies: 2 comments
-
You can try:
zpool export zfs-hpm
zpool import -d /dev/disk/by-id zfs-hpm
Alternatively, you can specify -d multiple times with specific device
names, according to the documentation.
…On Sat, Mar 18, 2023 at 10:29 PM Interduo ***@***.***> wrote:
I have got very old pool.
***@***.***:~# zpool status
pool: zfs-hpm
state: ONLINE
scan: scrub in progress since Sat Mar 18 06:24:53 2023
4.05T scanned at 197M/s, 3.89T issued at 189M/s, 10.9T total
0B repaired, 35.61% done, 10:51:08 to go
config:
NAME STATE READ WRITE CKSUM
zfs-hpm ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
sdb ONLINE 0 0 0
ata-WDC_WD40EFRX-68N32N0_WD-WCC7K0CF9X9T ONLINE 0 0 0
sdd ONLINE 0 0 0
sde ONLINE 0 0 0
I would like to change sdb,sdd,sde to it's location in /dev/disk/by-id.
I tried:
***@***.***:~# zpool replace zfs-hpm /dev/disk/by-id/ata-WDC_WD40EFRX-68N32N0_WD-WCC7K5SV0RHJ
/dev/disk/by-id/ata-WDC_WD40EFRX-68N32N0_WD-WCC7K5SV0RHJ is in use and contains a unknown filesystem.
Is it any way to do it easily without rebuilding wole pool?
—
Reply to this email directly, view it on GitHub
<#14647>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABXQ6HOGJZMEI246VLARMTLW4WMCHANCNFSM6AAAAAAV7NKB2E>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
interduo
-
Is there a on-line way to do this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have got very old pool.
I would like to change sdb,sdd,sde to it's location in /dev/disk/by-id.
I tried:
Is it any way to do it easily without rebuilding wole pool?
Beta Was this translation helpful? Give feedback.
All reactions