mirror of https://github.com/minio/minio.git
Clarify root disk error (#11314)
Make it clearer what the problem is and how to resolve it.
This commit is contained in:
parent
7624c8b9bb
commit
dac19d7272
|
@ -1203,7 +1203,8 @@ func markRootDisksAsDown(storageDisks []StorageAPI, errs []error) {
|
||||||
if storageDisks[i] != nil && infos[i].RootDisk {
|
if storageDisks[i] != nil && infos[i].RootDisk {
|
||||||
// We should not heal on root disk. i.e in a situation where the minio-administrator has unmounted a
|
// We should not heal on root disk. i.e in a situation where the minio-administrator has unmounted a
|
||||||
// defective drive we should not heal a path on the root disk.
|
// defective drive we should not heal a path on the root disk.
|
||||||
logger.Info("Disk `%s` is a root disk. Please ensure the disk is mounted properly, refusing to use root disk.",
|
logger.Info("Disk `%s` the same as the system root disk.\n"+
|
||||||
|
"Disk will not be used. Please supply a separate disk and restart the server.",
|
||||||
storageDisks[i].String())
|
storageDisks[i].String())
|
||||||
storageDisks[i] = nil
|
storageDisks[i] = nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue