Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
hi,
smartctl can be used only on physical server.from virtual machine is not possible to use anything to detect a hdd failure.right?
smartctl can be use only on a single disk.right?
so from a VM there is no possibility to check if a disk in a physical server is faulty.
in the link you gave me -it can bee seen single disks but not any raid.
in the link you gave me -it can bee seen single disks but not any raid.
Do you have software or hardware RAID?
For hardware RAID, it will depend on the the controller... It may also have option to detect & notify when disk is faulty - check the documentation.
For software RAID, you can add <MAILADDR> in mdadm.conf https://dustymabe.com/2012/01/29/mon...s-using-mdadm/
obviously it depends on the configuration. Virtual hosts usually does not have access to physical devices but virtual ones (which are somehow mapped to real devices on the real host). Therefore VMs cannot see/reach/handle the real device, but again it may depend on the configuration.
VMs usually have no idea where is the "underlying" filesystem really located (if there was a hdd/nfs/raid/whatever involved).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.