How can I merge two hard drives on an external linux server, without losing data already uploaded to one?
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I have a media server running Plex over on Hetzner, but am in no way a server pro.
I failed to realise that my two 2.0TB hard drives would be completely separate, so instead of 4.0TB of space in my main /home directory it's capped itself at 1.8 (which I only realised after uploading 1.8TB of data...)
Running df -h I get:
Filesystem Size Used Avail Use% Mounted on
udev 16G 0 16G 0% /dev
tmpfs 3.2G 13M 3.2G 1% /run
/dev/md2 1.8T 1.7T 4.4G 100% /
tmpfs 16G 8.0K 16G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/md1 488M 183M 280M 40% /boot
tmpfs 3.2G 0 3.2G 0% /run/user/1000
And df /home tells me:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/md2 1905568740 1805456300 3292060 100% /
So my home folder is stored on md2, which is saying it's full.
But according to fdisk -l, I have another 1.8TB available on sdb:
Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x8c0aea5f
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 33556479 33554432 16G fd Linux raid autodetect
/dev/sda2 33556480 34605055 1048576 512M fd Linux raid autodetect
/dev/sda3 34605056 3907027119 3872422064 1.8T fd Linux raid autodetect
Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x9612d2cc
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 33556479 33554432 16G fd Linux raid autodetect
/dev/sdb2 33556480 34605055 1048576 512M fd Linux raid autodetect
/dev/sdb3 34605056 3907027119 3872422064 1.8T fd Linux raid autodetect
Disk /dev/md1: 511.4 MiB, 536281088 bytes, 1047424 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/md2: 1.8 TiB, 1982545854464 bytes, 3872159872 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/md0: 16 GiB, 17163091968 bytes, 33521664 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
I've looked at walkthroughs on how to install LVM, as a possible method of creating a "combined drive" volume, but it's completely over my head.
Can anyone help me with a "for dummies" step-by-step guide on how to merge the two drives, so I can utilise the full 4.0TB for my /home directory? Preferably without losing the 1.8TB of data I've already uploaded there!
Revision:
mdadm --examine returns "mdadm: No devices to examine"
lsblk results:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 0 1.8T 0 disk
âÂÂâÂÂsdb2 8:18 0 512M 0 part
â âÂÂâÂÂmd1 9:1 0 511.4M 0 raid1 /boot
âÂÂâÂÂsdb3 8:19 0 1.8T 0 part
â âÂÂâÂÂmd2 9:2 0 1.8T 0 raid1 /
âÂÂâÂÂsdb1 8:17 0 16G 0 part
âÂÂâÂÂmd0 9:0 0 16G 0 raid1 [SWAP]
sda 8:0 0 1.8T 0 disk
âÂÂâÂÂsda2 8:2 0 512M 0 part
â âÂÂâÂÂmd1 9:1 0 511.4M 0 raid1 /boot
âÂÂâÂÂsda3 8:3 0 1.8T 0 part
â âÂÂâÂÂmd2 9:2 0 1.8T 0 raid1 /
âÂÂâÂÂsda1 8:1 0 16G 0 part
âÂÂâÂÂmd0 9:0 0 16G 0 raid1 [SWAP]
and cat /proc/mdstat:
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md0 : active raid1 sdb1[1] sda1[0]
16760832 blocks super 1.2 [2/2] [UU]
md2 : active raid1 sdb3[1] sda3[0]
1936079936 blocks super 1.2 [2/2] [UU]
bitmap: 1/15 pages [4KB], 65536KB chunk
md1 : active raid1 sdb2[1] sda2[0]
523712 blocks super 1.2 [2/2] [UU]
unused devices: <none>
linux ubuntu lvm storage
 |Â
show 8 more comments
up vote
1
down vote
favorite
I have a media server running Plex over on Hetzner, but am in no way a server pro.
I failed to realise that my two 2.0TB hard drives would be completely separate, so instead of 4.0TB of space in my main /home directory it's capped itself at 1.8 (which I only realised after uploading 1.8TB of data...)
Running df -h I get:
Filesystem Size Used Avail Use% Mounted on
udev 16G 0 16G 0% /dev
tmpfs 3.2G 13M 3.2G 1% /run
/dev/md2 1.8T 1.7T 4.4G 100% /
tmpfs 16G 8.0K 16G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/md1 488M 183M 280M 40% /boot
tmpfs 3.2G 0 3.2G 0% /run/user/1000
And df /home tells me:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/md2 1905568740 1805456300 3292060 100% /
So my home folder is stored on md2, which is saying it's full.
But according to fdisk -l, I have another 1.8TB available on sdb:
Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x8c0aea5f
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 33556479 33554432 16G fd Linux raid autodetect
/dev/sda2 33556480 34605055 1048576 512M fd Linux raid autodetect
/dev/sda3 34605056 3907027119 3872422064 1.8T fd Linux raid autodetect
Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x9612d2cc
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 33556479 33554432 16G fd Linux raid autodetect
/dev/sdb2 33556480 34605055 1048576 512M fd Linux raid autodetect
/dev/sdb3 34605056 3907027119 3872422064 1.8T fd Linux raid autodetect
Disk /dev/md1: 511.4 MiB, 536281088 bytes, 1047424 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/md2: 1.8 TiB, 1982545854464 bytes, 3872159872 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/md0: 16 GiB, 17163091968 bytes, 33521664 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
I've looked at walkthroughs on how to install LVM, as a possible method of creating a "combined drive" volume, but it's completely over my head.
Can anyone help me with a "for dummies" step-by-step guide on how to merge the two drives, so I can utilise the full 4.0TB for my /home directory? Preferably without losing the 1.8TB of data I've already uploaded there!
Revision:
mdadm --examine returns "mdadm: No devices to examine"
lsblk results:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 0 1.8T 0 disk
âÂÂâÂÂsdb2 8:18 0 512M 0 part
â âÂÂâÂÂmd1 9:1 0 511.4M 0 raid1 /boot
âÂÂâÂÂsdb3 8:19 0 1.8T 0 part
â âÂÂâÂÂmd2 9:2 0 1.8T 0 raid1 /
âÂÂâÂÂsdb1 8:17 0 16G 0 part
âÂÂâÂÂmd0 9:0 0 16G 0 raid1 [SWAP]
sda 8:0 0 1.8T 0 disk
âÂÂâÂÂsda2 8:2 0 512M 0 part
â âÂÂâÂÂmd1 9:1 0 511.4M 0 raid1 /boot
âÂÂâÂÂsda3 8:3 0 1.8T 0 part
â âÂÂâÂÂmd2 9:2 0 1.8T 0 raid1 /
âÂÂâÂÂsda1 8:1 0 16G 0 part
âÂÂâÂÂmd0 9:0 0 16G 0 raid1 [SWAP]
and cat /proc/mdstat:
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md0 : active raid1 sdb1[1] sda1[0]
16760832 blocks super 1.2 [2/2] [UU]
md2 : active raid1 sdb3[1] sda3[0]
1936079936 blocks super 1.2 [2/2] [UU]
bitmap: 1/15 pages [4KB], 65536KB chunk
md1 : active raid1 sdb2[1] sda2[0]
523712 blocks super 1.2 [2/2] [UU]
unused devices: <none>
linux ubuntu lvm storage
your disk are in raid configuration I think you might not be able to do what you want
â Kiwy
Apr 11 at 10:38
@Kiwy Damn... Is it possible to change the configuration at all? Would that mean starting from scratch and combining the disks somehow before I start uploading anything?
â Jon Watson
Apr 11 at 10:42
Can't tell I never configured Raid on linux, it depend if it's software or hardware raid. I can't tell you.
â Kiwy
Apr 11 at 11:25
Can you provide the output ofmdadm --examine
as well as the output oflsblk
to your question? This'll help us understand if the disks are in RAID array config or not currently.
â Thomas Ward
Apr 11 at 15:25
1
@JonWatson, though you have 2 1.8TB drives, they are bound in a RAID-1 mirror. Such a mirror provides some hardware redundancy, but at a 50% disk space cost. To make the change you want will require breaking the current RAID array, and there are potential issues with that. There is potentially a process, but it is difficult and not without risk. It would be easier to purchase an external back-up drive, copy the existing data to it, and then redo the entire setup. Some discussion of moving RAID levels.
â KevinO
Apr 11 at 18:30
 |Â
show 8 more comments
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have a media server running Plex over on Hetzner, but am in no way a server pro.
I failed to realise that my two 2.0TB hard drives would be completely separate, so instead of 4.0TB of space in my main /home directory it's capped itself at 1.8 (which I only realised after uploading 1.8TB of data...)
Running df -h I get:
Filesystem Size Used Avail Use% Mounted on
udev 16G 0 16G 0% /dev
tmpfs 3.2G 13M 3.2G 1% /run
/dev/md2 1.8T 1.7T 4.4G 100% /
tmpfs 16G 8.0K 16G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/md1 488M 183M 280M 40% /boot
tmpfs 3.2G 0 3.2G 0% /run/user/1000
And df /home tells me:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/md2 1905568740 1805456300 3292060 100% /
So my home folder is stored on md2, which is saying it's full.
But according to fdisk -l, I have another 1.8TB available on sdb:
Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x8c0aea5f
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 33556479 33554432 16G fd Linux raid autodetect
/dev/sda2 33556480 34605055 1048576 512M fd Linux raid autodetect
/dev/sda3 34605056 3907027119 3872422064 1.8T fd Linux raid autodetect
Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x9612d2cc
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 33556479 33554432 16G fd Linux raid autodetect
/dev/sdb2 33556480 34605055 1048576 512M fd Linux raid autodetect
/dev/sdb3 34605056 3907027119 3872422064 1.8T fd Linux raid autodetect
Disk /dev/md1: 511.4 MiB, 536281088 bytes, 1047424 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/md2: 1.8 TiB, 1982545854464 bytes, 3872159872 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/md0: 16 GiB, 17163091968 bytes, 33521664 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
I've looked at walkthroughs on how to install LVM, as a possible method of creating a "combined drive" volume, but it's completely over my head.
Can anyone help me with a "for dummies" step-by-step guide on how to merge the two drives, so I can utilise the full 4.0TB for my /home directory? Preferably without losing the 1.8TB of data I've already uploaded there!
Revision:
mdadm --examine returns "mdadm: No devices to examine"
lsblk results:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 0 1.8T 0 disk
âÂÂâÂÂsdb2 8:18 0 512M 0 part
â âÂÂâÂÂmd1 9:1 0 511.4M 0 raid1 /boot
âÂÂâÂÂsdb3 8:19 0 1.8T 0 part
â âÂÂâÂÂmd2 9:2 0 1.8T 0 raid1 /
âÂÂâÂÂsdb1 8:17 0 16G 0 part
âÂÂâÂÂmd0 9:0 0 16G 0 raid1 [SWAP]
sda 8:0 0 1.8T 0 disk
âÂÂâÂÂsda2 8:2 0 512M 0 part
â âÂÂâÂÂmd1 9:1 0 511.4M 0 raid1 /boot
âÂÂâÂÂsda3 8:3 0 1.8T 0 part
â âÂÂâÂÂmd2 9:2 0 1.8T 0 raid1 /
âÂÂâÂÂsda1 8:1 0 16G 0 part
âÂÂâÂÂmd0 9:0 0 16G 0 raid1 [SWAP]
and cat /proc/mdstat:
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md0 : active raid1 sdb1[1] sda1[0]
16760832 blocks super 1.2 [2/2] [UU]
md2 : active raid1 sdb3[1] sda3[0]
1936079936 blocks super 1.2 [2/2] [UU]
bitmap: 1/15 pages [4KB], 65536KB chunk
md1 : active raid1 sdb2[1] sda2[0]
523712 blocks super 1.2 [2/2] [UU]
unused devices: <none>
linux ubuntu lvm storage
I have a media server running Plex over on Hetzner, but am in no way a server pro.
I failed to realise that my two 2.0TB hard drives would be completely separate, so instead of 4.0TB of space in my main /home directory it's capped itself at 1.8 (which I only realised after uploading 1.8TB of data...)
Running df -h I get:
Filesystem Size Used Avail Use% Mounted on
udev 16G 0 16G 0% /dev
tmpfs 3.2G 13M 3.2G 1% /run
/dev/md2 1.8T 1.7T 4.4G 100% /
tmpfs 16G 8.0K 16G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/md1 488M 183M 280M 40% /boot
tmpfs 3.2G 0 3.2G 0% /run/user/1000
And df /home tells me:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/md2 1905568740 1805456300 3292060 100% /
So my home folder is stored on md2, which is saying it's full.
But according to fdisk -l, I have another 1.8TB available on sdb:
Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x8c0aea5f
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 33556479 33554432 16G fd Linux raid autodetect
/dev/sda2 33556480 34605055 1048576 512M fd Linux raid autodetect
/dev/sda3 34605056 3907027119 3872422064 1.8T fd Linux raid autodetect
Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x9612d2cc
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 33556479 33554432 16G fd Linux raid autodetect
/dev/sdb2 33556480 34605055 1048576 512M fd Linux raid autodetect
/dev/sdb3 34605056 3907027119 3872422064 1.8T fd Linux raid autodetect
Disk /dev/md1: 511.4 MiB, 536281088 bytes, 1047424 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/md2: 1.8 TiB, 1982545854464 bytes, 3872159872 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/md0: 16 GiB, 17163091968 bytes, 33521664 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
I've looked at walkthroughs on how to install LVM, as a possible method of creating a "combined drive" volume, but it's completely over my head.
Can anyone help me with a "for dummies" step-by-step guide on how to merge the two drives, so I can utilise the full 4.0TB for my /home directory? Preferably without losing the 1.8TB of data I've already uploaded there!
Revision:
mdadm --examine returns "mdadm: No devices to examine"
lsblk results:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 0 1.8T 0 disk
âÂÂâÂÂsdb2 8:18 0 512M 0 part
â âÂÂâÂÂmd1 9:1 0 511.4M 0 raid1 /boot
âÂÂâÂÂsdb3 8:19 0 1.8T 0 part
â âÂÂâÂÂmd2 9:2 0 1.8T 0 raid1 /
âÂÂâÂÂsdb1 8:17 0 16G 0 part
âÂÂâÂÂmd0 9:0 0 16G 0 raid1 [SWAP]
sda 8:0 0 1.8T 0 disk
âÂÂâÂÂsda2 8:2 0 512M 0 part
â âÂÂâÂÂmd1 9:1 0 511.4M 0 raid1 /boot
âÂÂâÂÂsda3 8:3 0 1.8T 0 part
â âÂÂâÂÂmd2 9:2 0 1.8T 0 raid1 /
âÂÂâÂÂsda1 8:1 0 16G 0 part
âÂÂâÂÂmd0 9:0 0 16G 0 raid1 [SWAP]
and cat /proc/mdstat:
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md0 : active raid1 sdb1[1] sda1[0]
16760832 blocks super 1.2 [2/2] [UU]
md2 : active raid1 sdb3[1] sda3[0]
1936079936 blocks super 1.2 [2/2] [UU]
bitmap: 1/15 pages [4KB], 65536KB chunk
md1 : active raid1 sdb2[1] sda2[0]
523712 blocks super 1.2 [2/2] [UU]
unused devices: <none>
linux ubuntu lvm storage
edited Apr 11 at 18:18
asked Apr 11 at 10:09
Jon Watson
164
164
your disk are in raid configuration I think you might not be able to do what you want
â Kiwy
Apr 11 at 10:38
@Kiwy Damn... Is it possible to change the configuration at all? Would that mean starting from scratch and combining the disks somehow before I start uploading anything?
â Jon Watson
Apr 11 at 10:42
Can't tell I never configured Raid on linux, it depend if it's software or hardware raid. I can't tell you.
â Kiwy
Apr 11 at 11:25
Can you provide the output ofmdadm --examine
as well as the output oflsblk
to your question? This'll help us understand if the disks are in RAID array config or not currently.
â Thomas Ward
Apr 11 at 15:25
1
@JonWatson, though you have 2 1.8TB drives, they are bound in a RAID-1 mirror. Such a mirror provides some hardware redundancy, but at a 50% disk space cost. To make the change you want will require breaking the current RAID array, and there are potential issues with that. There is potentially a process, but it is difficult and not without risk. It would be easier to purchase an external back-up drive, copy the existing data to it, and then redo the entire setup. Some discussion of moving RAID levels.
â KevinO
Apr 11 at 18:30
 |Â
show 8 more comments
your disk are in raid configuration I think you might not be able to do what you want
â Kiwy
Apr 11 at 10:38
@Kiwy Damn... Is it possible to change the configuration at all? Would that mean starting from scratch and combining the disks somehow before I start uploading anything?
â Jon Watson
Apr 11 at 10:42
Can't tell I never configured Raid on linux, it depend if it's software or hardware raid. I can't tell you.
â Kiwy
Apr 11 at 11:25
Can you provide the output ofmdadm --examine
as well as the output oflsblk
to your question? This'll help us understand if the disks are in RAID array config or not currently.
â Thomas Ward
Apr 11 at 15:25
1
@JonWatson, though you have 2 1.8TB drives, they are bound in a RAID-1 mirror. Such a mirror provides some hardware redundancy, but at a 50% disk space cost. To make the change you want will require breaking the current RAID array, and there are potential issues with that. There is potentially a process, but it is difficult and not without risk. It would be easier to purchase an external back-up drive, copy the existing data to it, and then redo the entire setup. Some discussion of moving RAID levels.
â KevinO
Apr 11 at 18:30
your disk are in raid configuration I think you might not be able to do what you want
â Kiwy
Apr 11 at 10:38
your disk are in raid configuration I think you might not be able to do what you want
â Kiwy
Apr 11 at 10:38
@Kiwy Damn... Is it possible to change the configuration at all? Would that mean starting from scratch and combining the disks somehow before I start uploading anything?
â Jon Watson
Apr 11 at 10:42
@Kiwy Damn... Is it possible to change the configuration at all? Would that mean starting from scratch and combining the disks somehow before I start uploading anything?
â Jon Watson
Apr 11 at 10:42
Can't tell I never configured Raid on linux, it depend if it's software or hardware raid. I can't tell you.
â Kiwy
Apr 11 at 11:25
Can't tell I never configured Raid on linux, it depend if it's software or hardware raid. I can't tell you.
â Kiwy
Apr 11 at 11:25
Can you provide the output of
mdadm --examine
as well as the output of lsblk
to your question? This'll help us understand if the disks are in RAID array config or not currently.â Thomas Ward
Apr 11 at 15:25
Can you provide the output of
mdadm --examine
as well as the output of lsblk
to your question? This'll help us understand if the disks are in RAID array config or not currently.â Thomas Ward
Apr 11 at 15:25
1
1
@JonWatson, though you have 2 1.8TB drives, they are bound in a RAID-1 mirror. Such a mirror provides some hardware redundancy, but at a 50% disk space cost. To make the change you want will require breaking the current RAID array, and there are potential issues with that. There is potentially a process, but it is difficult and not without risk. It would be easier to purchase an external back-up drive, copy the existing data to it, and then redo the entire setup. Some discussion of moving RAID levels.
â KevinO
Apr 11 at 18:30
@JonWatson, though you have 2 1.8TB drives, they are bound in a RAID-1 mirror. Such a mirror provides some hardware redundancy, but at a 50% disk space cost. To make the change you want will require breaking the current RAID array, and there are potential issues with that. There is potentially a process, but it is difficult and not without risk. It would be easier to purchase an external back-up drive, copy the existing data to it, and then redo the entire setup. Some discussion of moving RAID levels.
â KevinO
Apr 11 at 18:30
 |Â
show 8 more comments
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
SOLVED: Apparently it wasn't possible to combine drives without erasing everything and starting from scratch, so I started the Hetzner server in Rescue mode and followed the walkthrough here to setup Raid0 and LVM:
https://www.youtube.com/watch?v=cf7g-qDoUho
From there I reinstalled Plex and started uploading everything from scratch...
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
SOLVED: Apparently it wasn't possible to combine drives without erasing everything and starting from scratch, so I started the Hetzner server in Rescue mode and followed the walkthrough here to setup Raid0 and LVM:
https://www.youtube.com/watch?v=cf7g-qDoUho
From there I reinstalled Plex and started uploading everything from scratch...
add a comment |Â
up vote
1
down vote
accepted
SOLVED: Apparently it wasn't possible to combine drives without erasing everything and starting from scratch, so I started the Hetzner server in Rescue mode and followed the walkthrough here to setup Raid0 and LVM:
https://www.youtube.com/watch?v=cf7g-qDoUho
From there I reinstalled Plex and started uploading everything from scratch...
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
SOLVED: Apparently it wasn't possible to combine drives without erasing everything and starting from scratch, so I started the Hetzner server in Rescue mode and followed the walkthrough here to setup Raid0 and LVM:
https://www.youtube.com/watch?v=cf7g-qDoUho
From there I reinstalled Plex and started uploading everything from scratch...
SOLVED: Apparently it wasn't possible to combine drives without erasing everything and starting from scratch, so I started the Hetzner server in Rescue mode and followed the walkthrough here to setup Raid0 and LVM:
https://www.youtube.com/watch?v=cf7g-qDoUho
From there I reinstalled Plex and started uploading everything from scratch...
answered Apr 11 at 20:08
Jon Watson
164
164
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f436974%2fhow-can-i-merge-two-hard-drives-on-an-external-linux-server-without-losing-data%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
your disk are in raid configuration I think you might not be able to do what you want
â Kiwy
Apr 11 at 10:38
@Kiwy Damn... Is it possible to change the configuration at all? Would that mean starting from scratch and combining the disks somehow before I start uploading anything?
â Jon Watson
Apr 11 at 10:42
Can't tell I never configured Raid on linux, it depend if it's software or hardware raid. I can't tell you.
â Kiwy
Apr 11 at 11:25
Can you provide the output of
mdadm --examine
as well as the output oflsblk
to your question? This'll help us understand if the disks are in RAID array config or not currently.â Thomas Ward
Apr 11 at 15:25
1
@JonWatson, though you have 2 1.8TB drives, they are bound in a RAID-1 mirror. Such a mirror provides some hardware redundancy, but at a 50% disk space cost. To make the change you want will require breaking the current RAID array, and there are potential issues with that. There is potentially a process, but it is difficult and not without risk. It would be easier to purchase an external back-up drive, copy the existing data to it, and then redo the entire setup. Some discussion of moving RAID levels.
â KevinO
Apr 11 at 18:30