Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

solaris (format) and redhat partprobe

Status
Not open for further replies.

sm42

Technical User
Dec 11, 2003
133
GB

hello

In solaris we can partition a disk using the format command or use prtvtoc disk | fmthard -s - another-disk - and that's it, you don't need to tell the operating system to re-scan the disks etc

Using redhat, we use the fdisk command then either reboot or use the partprobe command to tell the OS, to rescan the changes made.

question
how does solaris perform the change dynamically without the unix admin telling the os to reread the disk changes?

thanks
 
Using RedHat I have never had to reboot or run partprobe after using fdisk, because it tells the kernel to re-read the partition table. The only time you need to do this is when a partition table is updated by some other means, for e.g. if a shared disk in a cluster is partitioned from one of the other nodes.

Solaris is just different. As far as I know it doesn't maintain a kernel table of partitions like Linux does (/proc/partitions), so whatever partitions are on the disk, are on the disk.


Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top