1

I've created a new disk partition by sudo fdisk /dev/xvda1 and the following commands:

  1. n
  2. p
  3. 1
  4. Enter
  5. Enter
  6. w

After, when I want to change the partition system file into xfs by sudo mkfs.xfs -i size=1024 /dev/xvda1p1 I got:

/dev/xvda1p1: Not such file or directory

P.S. : xvda1p1 is the name of the new created partition when I type sudo fdisk -l

I'm following these instructions in order to achieve a tutorial of creating a Swift Cluster.

Thanks.

BuZZ-dEE
  • 14,533
Dady
  • 712

2 Answers2

2

/dev/xvda1 is a partition. You don't create partitions inside partitions. You wanted fdisk /dev/xvda.

psusi
  • 38,031
0

you could install gparted to make it easier. You can find it in the Ubuntu Software Center

Silviu
  • 187