Anyone have a best practice to find drives in a large Amahi server with Grehole?
I will have 13 disks, with 12 in a pool. The are in 3 different pull-out-cages, so I think of my drives as;
1-1 to 1-4
2-1 to 2-4
3-1 to 3-5
First letter the cage, second drive position in cage. As you know the script 'mount -a' mounts the drives in /var/hda/files/drives/driveX
At the moment, when I format the drive I use the label "1-4-1TB" so I know where it is, and if I get errors I can find it. I also put a comment line above the mount in /etc/fstab to indicate the location.
Any other ideas? Anyone else think this is a need?
best practice for locating drives
Re: best practice for locating drives
I myself have 7-8 disks in the same case. I labeled them with stickers, and then labeled them in Linux with the same number.
Sadly, Linux often only mention the device as /dev/sdX# when it logs errors for it, so you need to manually check the /dev/disks/by-label/ symlinks to see which drive it's talking about.
Greyhole only work with directories (not drives or partitions), so when it logs something, it's the full path that is logged.
So if you want to know what drive Greyhole is talking about, you should move the mount points from /var/hda/files/drives/rive# to /anything/1-4-1TB, or similar.
Greyhole will need a --fsck after you change your mount points, to re-link everything, and update all metadata files.
Sadly, Linux often only mention the device as /dev/sdX# when it logs errors for it, so you need to manually check the /dev/disks/by-label/ symlinks to see which drive it's talking about.
Greyhole only work with directories (not drives or partitions), so when it logs something, it's the full path that is logged.
So if you want to know what drive Greyhole is talking about, you should move the mount points from /var/hda/files/drives/rive# to /anything/1-4-1TB, or similar.
Greyhole will need a --fsck after you change your mount points, to re-link everything, and update all metadata files.
- Guillaume Boudreau
Who is online
Users browsing this forum: No registered users and 12 guests