LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-10-2020, 03:51 PM   #1
Peterken
Member
 
Registered: Apr 2007
Location: Belgium
Distribution: Debian
Posts: 64

Rep: Reputation: 20
Problem with swapping HDD from zpool


Hi guys

With a lot or reading/puzzling I have managed to a Debian Buster server with 1 SSD for OS and 1 HDD for data, both RAIDZ-0.
I've created a single drive zpool with the HDD and shared it with samba.
This has worked well but now I wanted to replace the HDD with a bigger one.
It's a SFF housing so not possible to mount them both permanently.

I did swap the HDD's and somehow got the new one into the existing pool and was able to write/copy data to it.
By reconnecting the original drive no data was visible so I went back to the original setup.
Except for the pool becoming suspended after some time repeatedly (which I solve with zpool clear 'mypool'), I now can access the data again.

What I would like to achieve: replace old drive with newer (used, currently NTFS formatted) one, just like the current configuration, and move/copy the data over.
Can anyone give me some pointers on how to handle this?

FYI: I have basic *nix knowledge and new to ZFS, so hope my explanation is clear.

TIA!
 
Old 05-26-2020, 08:29 AM   #2
Elliesh7
LQ Newbie
 
Registered: May 2020
Posts: 1

Rep: Reputation: Disabled
I think you may be expecting better numbers than you're likely to get. RAIDz1 means you're going to bottleneck to single-disk performance in most cases, and SSD means even when you get multiple-disk performance levels, you're likely to bottleneck on the SATA bus anyway.
 
  


Reply

Tags
zfs


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding 2 SAS HDD (RAID -0) to existing 4 HDD (2 RAID-0), then swapping 2 pairs kaza Linux - Hardware 2 01-23-2019 03:23 PM
How to copy a zpool safely? rsync? cp? kebabbert Solaris / OpenSolaris 26 12-29-2017 06:34 AM
is there a way to convert a standard zpool into a raidz pool? LauMars Solaris / OpenSolaris 2 03-09-2009 02:34 PM
is there a way to convert a standard zpool into a raidz pool? (ZFS) LauMars Linux - Server 1 03-08-2009 09:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration