Last modified: 2013-04-18 18:43:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T38488, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36488 - reevaluate partitioning scheme for apaches
reevaluate partitioning scheme for apaches
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
wmf-deployment
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: ops
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-03 17:33 UTC by Rob Lanphier
Modified: 2013-04-18 18:43 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Rob Lanphier 2012-05-03 17:33:27 UTC
From Jeff Green in RT #2524

Looking at srv248 and srv249:

/dev/sda1             7.4G  5.8G  1.2G  83% /
/dev/sda6             1.9G  126M  1.7G   8% /tmp
/dev/sda7              59G  7.4M   59G   1% /a

Now that we have heterogeous deployment, it's easy to blow up that first partition with multiple 1.1GB mw footprints plus rotated syslogs. Meanwhile we allocated a huge chunk of space to the unused /a partition.

Is there a good reason for this scheme that I've missed? Otherwise maybe we should we do something more like:

10GB /
5 GB /tmp
5 GB /var/log
* /a
Comment 1 Aaron Schulz 2012-05-03 17:34:20 UTC
We need to really do this for the scalars too. Switching to Swift will involve much more temp file creation.
Comment 2 Gabriel Wicke 2012-05-03 18:52:05 UTC
I am wondering if there is a good reason for those partitions anyway. Filesystems support the reservation of space for the root user, and log rotation can (IIRC) be based on space usage. So why not use a single root partition?
Comment 3 Andre Klapper 2013-04-08 16:06:51 UTC
[adding "ops" keyword as proposed by Greg]
Comment 4 Daniel Zahn 2013-04-18 18:43:51 UTC
This has already been done by notpeter. RT-2524 has more info on this and is resolved. summary is "done" (no /a on newly installed servers in eqiad)

root@mw1024:~# mount | grep ^/
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
/dev/sda3 on /tmp type ext4 (rw)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links