Obsolete:Labs NFS: Difference between revisions

From Wikitech
Content deleted Content added
Coren (talk | contribs)
WIP
Coren (talk | contribs)
more wip
Line 13: Line 13:
In addition, the first two drives of the internal bay are configured as a raid1 (`md0`) for the OS.
In addition, the first two drives of the internal bay are configured as a raid1 (`md0`) for the OS.


== LVM ==


Each shelf array is configured as a LVM physical volume, and pooled in the `labstore` volume group, from which all shared volumes are allocated.

There is still a `backup` volume group containing the internal drives of labstore1002 (not counting the OS-allocated drives) that contains old images – but that VG is not in active use anymore.


[[Category:Wikimedia Labs]]
[[Category:Wikimedia Labs]]

Revision as of 18:12, 8 September 2015

NFS is served to eqiad labs from one of two servers (labstore1001 and labstore1002) which are connected to a set of five MD1200 disk shelves.

Hardware setup

Each server is connected to all five shelves, with three shelves on one port of the controller and two shelves on the other. Each shelf holds 12 1.8TB SAS drives, and the controller is configured to expose them as single-disk raid 0 to the OS (The H800 controller does not support actual JBOD configuration). In addition, both servers have (independently) 12 more 1.8TB SAS drives in the internal bays.

The internal disks are visible to the OS as `/dev/sda` to `/dev/sdl`, and the shelves' disks are `/dev/sdm` to `/dev/sdbt`.

Software RAID

The external shelves are configured as raid10 arrays of 12 drives, constructed from six drives on one shelf, and six drives on a different shelf (such that no single raid10 array relies on any one shelf). MD numbering is not guaranteed to be stable between boots, but the current arrays are normally numbered `md122`-`md125`.

In addition, the first two drives of the internal bay are configured as a raid1 (`md0`) for the OS.

LVM

Each shelf array is configured as a LVM physical volume, and pooled in the `labstore` volume group, from which all shared volumes are allocated.

There is still a `backup` volume group containing the internal drives of labstore1002 (not counting the OS-allocated drives) that contains old images – but that VG is not in active use anymore.