Opened 18 months ago
Last modified 18 months ago
#103 reopened defect
Upgrade CRIN4 to 2GB of RAM
Reported by: | chris | Owned by: | chris |
---|---|---|---|
Priority: | major | Milestone: | Maintenance |
Component: | crin4 | Version: | |
Keywords: | Cc: | russell, peter | |
Estimated Number of Hours: | 0 | Add Hours to Ticket: | 0 |
Billable?: | yes | Total Hours: | 0.3 |
Description
Ticket to track the upgrading of Crin4 from 1GB to 2GB of RAM.
Change History (5)
comment:1 Changed 18 months ago by chris
- Cc russell peter added
comment:2 Changed 18 months ago by chris
- Add Hours to Ticket changed from 0 to 0.15
- Total Hours set to 0.15
I have added a sudo account for 1984 so they can look at extending the root partition.
comment:3 Changed 18 months ago by chris
- Add Hours to Ticket changed from 0 to 0.15
- Total Hours changed from 0.15 to 0.3
The notes here were used for adding the account https://trac.crin.org.archived.website/trac/wiki/Crin4#sshaccess
The steps that 1984 followed:
1 sudo fdisk -l /dev/sda 2 sudo cfdisk /dev/sda 3 sudo fdisk -l /dev/sda 4 sudo partprobe /dev/sda 5 sudo apt-cache search partprobe 6 sudo apt-get install parted 7 sudo partprobe /dev/sda 8 sudo ls /dev/sda3 9 sudo pvcreate /dev/sda3 10 sudo vgdisplay --columns 11 sudo vgextend CRIN4-vg /dev/sda3 12 sudo vgdisplay --columns 13 sudo lvdisplay 14 sudo lvextend -l 100%FREE /dev/CRIN4-vg/root 15 sudo vgdisplay --columns 16 sudo lvresize -l +100%FREE /dev/CRIN4-vg/root 17 mount 18 sudo resize2fs /dev/CRIN4-vg/root 19 df -hP
And the result:
df -h Filesystem Size Used Avail Use% Mounted on /dev/dm-0 31G 9.9G 20G 34% / udev 10M 0 10M 0% /dev tmpfs 402M 21M 382M 6% /run tmpfs 1005M 92K 1005M 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 1005M 0 1005M 0% /sys/fs/cgroup /dev/sda1 236M 33M 191M 15% /boot
comment:4 Changed 18 months ago by chris
- Resolution set to fixed
- Status changed from new to closed
comment:5 Changed 18 months ago by russell
- Resolution fixed deleted
- Status changed from closed to reopened
Thanks Chris, I'm going to set the big DB sync going now to get dev. in sync with live. All the best, Russell On 17/03/2017 14:42, CRIN Trac wrote: > #103: Upgrade CRIN4 to 2GB of RAM > ------------------------------------+----------------------------------- > Reporter: chris | Owner: chris > Type: defect | Status: closed > Priority: major | Milestone: Maintenance > Component: crin4 | Version: > Resolution: fixed | Keywords: > Estimated Number of Hours: 0 | Add Hours to Ticket: 0 > Billable?: 1 | Total Hours: 0.3 > ------------------------------------+----------------------------------- > Changes (by chris): > > * status: new => closed > * resolution: => fixed > > > -- > Ticket URL: <https://trac.crin.org.archived.website/trac/ticket/103#comment:4> > CRIN Trac <https://trac.crin.org.archived.website/trac> > Trac project for CRIN website and servers.
Note: See
TracTickets for help on using
tickets.
The server has been shutdown and restarted so the extra RAM is available:
And this should start to show up on Munin soon.
Looking at the disk, using fdisk we have:
And using pvdisplay:
And the results of vgdisplay:
And the advice from 1984.is is:
So I think we need to do the following
But I'll run that past 1984.is before I do anything.