I'm trying to replace two of my smaller HDD in my Amahi Home Server with two, 4 TB Toshiba drives. I'm not having much luck. First, I tried to follow the directions of creating a driver larger than 2.1 TB, https://wiki.amahi.org/index.php/Partitions_Over_2.1_TB and it's getting hung up on making the partition:
Code: Select all
parted /dev/sdb mkpart primary ext4 2048 -1
So, for Plan C, I booted to a USB Rescue Disk, and created the GPT/EXT4 partition from GPARTED, and it worked just fine. I reattached that drive to my server, and then proceeded to do whole partition copy using:
Code: Select all
dd if=/dev/sda1 of=/dev/sdb1 bs=64K conv=noerror,sync status=progress
At this point, I commented out the old drive in /etc/fstab, unmounted the smaller drive, and swapped the drives. I ran hda-diskmount, and it couldn't find the partitions. I ran fdisk -l, and it showed the drive, but unknown partition type, unknown label. At this point, I'm really frustrated.
So, I move on to Plan D. I put the small HDD back in, uncomment from /etc/fstab, remount the drive, and proceed to try and just move the data off the drive using
Code: Select all
greyhole --going /var/hda/files/drive1/gh &
What should my next step be? I really don't want to loose data. I'm trying to follow directions from the Wiki or from the forums, but both are rather out of date, showing methods for both Ubuntu, Fedora, CLI, and Amahi dashboard, with none of them seem to be working as expected.