Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
There is no free space in the hard disk...only 6G was free..how can i create a partition /dev/sdx with 30G..
i have free space in / can i create a directory /u01 in / and mount that directory permanently..when i execute df -h or df -k it should show /u01 as mounted...
There is no free space in the hard disk...only 6G was free..how can i create a partition /dev/sdx with 30G..
i have free space in / can i create a directory /u01 in / and mount that directory permanently..when i execute df -h or df -k it should show /u01 as mounted...
Checkout Gparted, if you don't have it on your system, download the bootable CD.
As per your mentioned partition scheme, There is no disk space so you can't do that 30G partition.
You have to find some third party utility for Linux to Extend your partition, I don't know its available or not. Wanted to give you suggestion for future that if you are partition and not sure about future than always make partition other than /boot with LVM so you can always extend and reduce your partition.
As per your mentioned partition scheme, There is no disk space so you can't do that 30G partition.
You have to find some third party utility for Linux to Extend your partition, I don't know its available or not. Wanted to give you suggestion for future that if you are partition and not sure about future than always make partition other than /boot with LVM so you can always extend and reduce your partition.
Hope this helps.
You don't know if these is any free space on his 70G parition. Gparted or df can tell you.
Gparted will do all of all of the above. You need the live CD because you can't alter a partition of a running system.
As per your mentioned partition scheme, There is no disk space so you can't do that 30G partition.
You have to find some third party utility for Linux to Extend your partition, I don't know its available or not. Wanted to give you suggestion for future that if you are partition and not sure about future than always make partition other than /boot with LVM so you can always extend and reduce your partition.
As per your information as there is not enough free space on hard drive as you have allocated 60G to "/" and 4G to swap, so its not probably possible to do what you are asking for because you need a partition with filesystem allocated to it before mounting any directory on it.
As rightly said by person above me in future use LVM when you are not sure about the partitions and there space as you can always create new Logical Volumes in a volume group and also extend or shrink a existing logical volume.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.