Page MenuHomePhabricator

Puppetize and setup initial lvms and directory structures for labstore1006|7
Closed, ResolvedPublic

Event Timeline

bd808 moved this task from Backlog to Dumps on the Data-Services board.Sep 11 2017, 9:59 PM

Steps to set up lvms

# Unmount existing data LV
sudo umount /dev/labstore1006-vg/data
# Delete the data LV
sudo lvremove labstore1006-vg/data
# Remove the /dev/sdb1 PV from the VG
sudo vgreduce labstore1006-vg /dev/sdb1
# Allocate the rest of /dev/sda5 as spare
sudo lvcreate -l 100%FREE -n spare labstore1006-vg
# Create PV for /dev/sdc (External disk shelf)
sudo pvcreate /dev/sdc
# Make new data VG with the two big PVs
sudo vgcreate data /dev/sdb1 /dev/sdc
# Make new LV dumps
sudo lvcreate -l 100%FREE -n dumps data
# Format dumps LV
sudo mkfs -t ext4 /dev/data/dumps

Change 379810 had a related patch set uploaded (by Madhuvishy; owner: Madhuvishy):
[operations/puppet@production] public_dumps: Set up initial module and profile, add to role

https://gerrit.wikimedia.org/r/379810

Change 379810 merged by Madhuvishy:
[operations/puppet@production] public_dumps: Set up initial module and profile, add to role

https://gerrit.wikimedia.org/r/379810

madhuvishy closed this task as Resolved.Nov 20 2017, 5:20 AM
madhuvishy claimed this task.

With https://gerrit.wikimedia.org/r/#/c/391892/, this is all done now.

Change 401198 had a related patch set uploaded (by Madhuvishy; owner: Madhuvishy):
[operations/puppet@production] public_dumps: Remove module path and rename to distribution

https://gerrit.wikimedia.org/r/401198

Change 401198 merged by Madhuvishy:
[operations/puppet@production] public_dumps: Remove module path and rename to distribution

https://gerrit.wikimedia.org/r/401198