20
submitted 5 months ago* (last edited 5 months ago) by DontNoodles@discuss.tchncs.de to c/selfhosted@lemmy.world

I have set up a refurbished PC as a media PC with storage. The OS, Debian, is on an m.2 nvme disk of 256 GB. I have connected 2x4TB risks in zfs mirror mode to store my media.

Off late, while booting, I've noticed some messages that suggest that the health of nvme disk is not good. Searching the error, i realised that I should not rely on it. I've done a number of tweaks to set up my system the way I like that I want to save by creating an image of the OS drive on a fresh nvme disk of same size that I have.

How do I go about doing it? I could boot using a live USB and create the image on the HDDs but the live USB OS won't recognise my zfs, right? Is using another external disk or another PC my only option here?

Thanks and cheers!

PS: The machine is a HP Elitedesk 800 G3 that has a wifi port that I've heard can be used as additional port for m.2 drives. Is it true?

you are viewing a single comment's thread
view the rest of the comments
[-] ares35@kbin.social 5 points 5 months ago* (last edited 5 months ago)

don't mess around with imaging to a file on the zfs, then restoring it. simply clone nvme -> nvme using a usb nvme adapter then replace the internal with the clone.

[-] DontNoodles@discuss.tchncs.de 4 points 5 months ago

I would like to avoid buying additional hardware if possible.

[-] ares35@kbin.social 5 points 5 months ago

usb nvme adapters are not expensive and it likely won't be the only time you need it. they are a handy accessory to have on hand if you have nvme storage.

[-] DontNoodles@discuss.tchncs.de 3 points 5 months ago

I'll definitely take this route if the wifi slot will not support the m.2 drive. Thanks for the suggestion.

[-] lemming741@lemmy.world 1 points 5 months ago

You can old nvme -> SATA -> new nvme with any old SATA drive you have lying around.

load more comments (1 replies)
this post was submitted on 22 May 2024
20 points (95.5% liked)

Selfhosted

40153 readers
269 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS