How to split primary partition in Linux?

Hello, you have a server with the following disk structure:
/dev/sda1 34 19531 19498 BIOS boot 9.5 M
/dev/sda2 19584 8006783 7987200 3.8 G Linux swap
/dev/sda3 8006784 121630335 113623552 54.2 G Linux filesystem

I need to create a separate logical partition for one softiny (GlusterFS). but under /dev/sda3 can not, because it is mounted. created inside a logical (/dev/sda3p1), but they are not seen then anywhere else, not mounted (done using fdisk with the obligatory w at the end).
June 27th 19 at 15:27
4 answers
June 27th 19 at 15:29
created inside a logical (/dev/sda3p1)

I don't think you should restart, because most likely you have the system no longer boots up.
lol - mohamed.Muller commented on June 27th 19 at 15:32
June 27th 19 at 15:31
Please
# fdisk-l
and
# mount
in the Studio!

You do not say that the server is not combat and there are no important data.
Otherwise, you have a copy of the partition table to your changes.
And that you can access it if not physically then at least via KVM, IPMI, etc
And that You had fun booting from the CD.
And Indian word for GLUSTER :) requires a second server. I hope that pic is all right. And there is the same copy of the partition table.
June 27th 19 at 15:33
Create a file on the primary partition, format it inside, and mount as loop-section.
June 27th 19 at 15:35
so fun went: left the post and went with a friend to try. have rebutals in rescue mode (via terminal provider), created a logical volume using LVM, and more the server is not loaded. will redeploy it on Monday, it is still a test and all the applications we have in containers, i.e. a matter of minutes.

Find more questions by tags Hard disksOperating systemsLinux