Great Video, Demonstrated very well. The only problem is if you had /boot instead of swap partition you will not be able to extend as you will be allocating sectors from /boot and boot data will be lost.. It only works if you are happy to loose data from later partition e.g. swap or tmp
Thanks for video... but for me after reboot system goes in safe mode and when I see journctl it throws error /dev/disk/by-uuid/ddaab76--- doesnt exits. Starting Dracut Emergency Shell RHEL-7.6 qcow2 image I am using on openstack instance.
Very helpful stuff man! Thank you very much. Just a few things that helped me. My / partition was mounted on sda5 which was a logical partition on extended partition sda4. In this case you need to remove and recreate BOTH partitions in the same order (sda4 extended, sda5 primary) Also for XFS partitions resize2fs does not work. Just used $ xfs_growfs /dev/sda5
Can you explain how. Like I said in the video we need to delete partition if any partition created after root partition. example swap and swap don't hold data since it is virtual memory.
Tune To Linux but what is there is primary partition after root as it can been seen in most of the server in this case data will be corrupted as root partition will take over primary partition block
This video is to expand root partition and I have showed clearly how to expand. And also explain about other partition after it comes after root that it needs to delete and recreate. At last I also explain about latest backup before resizing partition.
BTW, on my Debian server, I had to update the file /etc/initramfs-tools/conf.d/resume and update the initramfs (as described here forums.debian.net/viewtopic.php?t=133253) after reboot to clear kernel warnings about wrong swap UUID
This is useless in a real world physical production server environment, not only because of the rebooting downtime but also in most cases you will need to have a new hard disk installed if its not a LVM partition.
Great Video, Demonstrated very well. The only problem is if you had /boot instead of swap partition you will not be able to extend as you will be allocating sectors from /boot and boot data will be lost.. It only works if you are happy to loose data from later partition e.g. swap or tmp
Very clear and useful information.
Tq
Thanks!
Im using a vm Debian on Virtual Box, i had some problemas with resize2fs, but i could fix it with a Live Distro with the gparted.
Thank you!
Happy that it helped.
In my case, my boot partition and my / partition are both /dev/sda3. How can I separate them ?
before expand check the files and same verify after expand its very useful to us
what about your data? are the important files and folder safe? after expanding the root partition size
Thank you! Exactly what I needed to get started.
Thanks for video... but for me after reboot system goes in safe mode and when I see journctl it throws error
/dev/disk/by-uuid/ddaab76--- doesnt exits.
Starting Dracut Emergency Shell
RHEL-7.6 qcow2 image I am using on openstack instance.
It worked by not delete my both partition but only the / partition ... thought not sure how and why.
Very helpful stuff man! Thank you very much.
Just a few things that helped me.
My / partition was mounted on sda5 which was a logical partition on extended partition sda4.
In this case you need to remove and recreate BOTH partitions in the same order (sda4 extended, sda5 primary)
Also for XFS partitions resize2fs does not work.
Just used $ xfs_growfs /dev/sda5
Thanks for sharing
if i will delete the /root partition will be loss data ?
If you follow exactly showed in the video. It won’t.
muchas gracias
Nice video....
1. How to rollback production server with downtime of 3 hours.
2. Please make a video in realtime senarious.to crack interviews.
My friend. You deleted the partition and what about the data it is inside? Is it preserved ?
exactly what i need to ask
Thank you very much, it helped me a lot.
Please hit like and subscribe.for more real time videos on Linux.
this was so helpful
Appreciate your feedback. Please share with your friends and colleagues.
In interview people ask can we extend root partion ans yes or not?
Tell them why not
@@tunetolinux4173 if yes how? We need to take backup and then we will expand or what is Scinerio?
what about data if i delete the root partition...how can i get?
You can’t unless it is LVM or you have backup available. Kindly refer my LVM playlist.
Super , Will it work in Physical server also?
I m not sure.. Very risky approach
very nice explanation
Appreciate your feedback.
where does the 2 gb you extended come from
from his external disk
Its a virtual machine he just added 2gb
thanks bro you are the best!..
Glad that you like it. Subscribe and share 🤗
Will it delete data from root partition??
No.
very thankyou so much bro...
Appreciate your feedback.
very good video
Glad you like it. Subscribe and share with your friends.
All data will be lost in other partition if we follow this
Can you explain how. Like I said in the video we need to delete partition if any partition created after root partition. example swap and swap don't hold data since it is virtual memory.
Tune To Linux but what is there is primary partition after root as it can been seen in most of the server in this case data will be corrupted as root partition will take over primary partition block
This video is to expand root partition and I have showed clearly how to expand. And also explain about other partition after it comes after root that it needs to delete and recreate. At last I also explain about latest backup before resizing partition.
True
Thank you Sir. I owe you a virtual beer!
BTW, on my Debian server, I had to update the file /etc/initramfs-tools/conf.d/resume and update the initramfs (as described here forums.debian.net/viewtopic.php?t=133253) after reboot to clear kernel warnings about wrong swap UUID
Cheers 🍻
Nice
Thanks 🙏
This is useless in a real world physical production server environment, not only because of the rebooting downtime but also in most cases you will need to have a new hard disk installed if its not a LVM partition.
Can you suggest what is the procedure then?
Faking fake cannot even part the main root just time waste and os delete dont try😭😭😭😭
I didn’t get what you trying to say here but assuming that the step I followed isn’t right?
Can you list down the steps you followed ?
Sub title are Distabing
It up to you. You can click on “cc” in the video and disable subtitles.