LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   New partition requires reboot (https://www.linuxquestions.org/questions/linux-general-1/new-partition-requires-reboot-827695/)

MrUmunhum 08-21-2010 03:46 PM

New partition requires reboot
 
Hi group,

I am having a problem with a customer's server. Every time I add a new partition, I must reboot. This server is production and rebooting is presenting a problem. I use gparted or fdisk and both see this problem. I tried using partprobe but that did not help.

I believe the trouble is caused by the hardware RAID?

Does anyone have a work around?

Thanks for your time.

MS3FGX 08-21-2010 03:52 PM

I don't see that is a problem, but expected behavior. If you are adding a partition to a storage device, you should reboot to make sure the kernel is properly acknowledging it.

A better question would be, why are you adding so many partitions that this has become a problem? Perhaps you should be looking into something like LVM, rather than making so many changes to the physical disk layout.

MrUmunhum 08-21-2010 04:15 PM

Quote:

Originally Posted by MS3FGX (Post 4073565)
I don't see that is a problem, but expected behavior. If you are adding a partition to a storage device, you should reboot to make sure the kernel is properly acknowledging it.

A better question would be, why are you adding so many partitions that this has become a problem? Perhaps you should be looking into something like LVM, rather than making so many changes to the physical disk layout.

OK, LVM looks interesting. If I use it, can the different partitions be isolated? In other word, can I use them for vituralized guest that need to be separated?

MrUmunhum 08-21-2010 04:59 PM

[Solved] New partition requires reboot
 
Quote:

Originally Posted by MrUmunhum (Post 4073561)
Hi group,

I am having a problem with a customer's server. Every time I add a new partition, I must reboot. This server is production and rebooting is presenting a problem. I use gparted or fdisk and both see this problem. I tried using partprobe but that did not help.

I believe the trouble is caused by the hardware RAID?

Does anyone have a work around?

Thanks for your time.

This worked:
Code:

hdparm -z /dev/sde


All times are GMT -5. The time now is 08:09 PM.