I am adding a new 3TB hard drive, and am following this page to partition it (https://wiki.amahi.org/index.php/Partitions_Over_2.1_TB)
When I run; parted /dev/sdb mkpart primary ext4 2048 -1, I get the following error:
[root@localhost ~]# parted /dev/sdb mkpart primary ext4 2048 -1
parted: invalid option -- '1'
Usage: parted [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]
[root@localhost ~]#
Should I be using another number, like 1 -1?
Error when Partitioning new drive
Re: Error when Partitioning new drive
Try using cfdisk instead. I have had better luck with that one. It should already be installed.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Error when Partitioning new drive
It seems to only see the first 2TB
-----------------------------------------------------------------------------------------------------
Name Flags Part Type FS Type [Label] Size (MB)
-----------------------------------------------------------------------------------------------------
sdb1 NC Primary GPT 2199023.26 *
Pri/Log Free Space 801569.73 *
-----------------------------------------------------------------------------------------------------
I'd rather not have 2 partitions on the one drive, is there another way?
-----------------------------------------------------------------------------------------------------
Name Flags Part Type FS Type [Label] Size (MB)
-----------------------------------------------------------------------------------------------------
sdb1 NC Primary GPT 2199023.26 *
Pri/Log Free Space 801569.73 *
-----------------------------------------------------------------------------------------------------
I'd rather not have 2 partitions on the one drive, is there another way?
Re: Error when Partitioning new drive
Did you delete all partitions on the drive? If that still does not help, then back to parted I guess. I don't have any that big.
Since this is an OS thing and not Amahi, you might find help on the internet as well.
Since this is an OS thing and not Amahi, you might find help on the internet as well.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Error when Partitioning new drive
ya, deleting the partition and creating a new one still drops it down to 2TB.
I got it working by using: parted /dev/sdX mkpart primary ext4 2048 (with no number).
You're then prompted with 'end?', and I entered -1, then ignored the unaligned partition warning.
I got it working by using: parted /dev/sdX mkpart primary ext4 2048 (with no number).
You're then prompted with 'end?', and I entered -1, then ignored the unaligned partition warning.
Re: Error when Partitioning new drive
Sounds good. These things are always trial and error it seems.
Would you mind adding some guidance to the existing wiki page about this experience? It would greatly help others.
Would you mind adding some guidance to the existing wiki page about this experience? It would greatly help others.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Who is online
Users browsing this forum: No registered users and 56 guests