Page MenuHomePhabricator

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

Event Timeline

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

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