![]() |
![]() OCAU News - Wiki - QuickLinks - Pix - Sponsors |
|
|||||||
| Notices |
|
Sign up for a free OCAU account and this ad will go away! Search our forums with Google: |
![]() |
|
|
Thread Tools |
|
|
#16 | |
|
48656C6C6F20576F726C6421
Join Date: Jun 2001
Location: At a desk. Distro:Ubuntu
Posts: 7,078
|
Quote:
But like I said before, you'll get a marked improvement in build speed if you take all the mounted filesystems on that array offline.
__________________
If practice makes perfect, and nobody's perfect, why practice? |
|
|
|
|
| Join OCAU to remove this ad! |
|
|
#17 |
|
Member
Join Date: Oct 2007
Location: NSW, In a house.
Posts: 3,473
|
Code:
admin@server:~$ cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid5 sda1[4] sdd1[2] sde1[3] sdc1[1] sdb1[0]
5860535808 blocks super 0.91 level 5, 64k chunk, algorithm 2 [5/5] [UUUUU]
[==================>..] reshape = 91.5% (1788903728/1953511936) finish=988.0min speed=2776K/sec
unused devices: <none>
__________________
| Main Rig | i7-2600K @ TBA | CPU-370 | Maximus IV Extreme-Z | 16GB RAM TBA | EVGA GTX580 @ TBA | VID-NX580 | Corsair AX850 | Powdercoated CM Cosmo S | OCZ Vertex 3 Max IOPS 120GB | Black Ice SR1 360+120+120 |
| Second Rig | i5-2500K @ 4.326Ghz | CM 212+ | Sabertooth P67 | 16GB Corsair Vengeance @ 1648Mhz | Asus HD6850 @ 900/4400 | Silverstone ST75F-P | Fractal Design Define R3 | 2 x 2TB Seagate ST2000DL003 | 2 x 500GB Samsung HD501LJ | BenQ G2420HD | |
|
|
|
|
|
#18 |
|
Member
Join Date: Oct 2007
Location: NSW, In a house.
Posts: 3,473
|
Code:
admin@server:~$ sudo cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid5 sda1[4] sdd1[2] sde1[3] sdc1[1] sdb1[0]
7814047744 blocks level 5, 64k chunk, algorithm 2 [5/5] [UUUUU]
unused devices: <none>
I tried doing a little research on pvresize and lvresize like Hyrax said and am not sure where to start? I tried foloowing this guide and didn't get too far. When I do this: Code:
admn@server:~$ sudo vgdisplay Array --- Volume group --- VG Name Array System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 4 VG Access read/write VG Status resizable MAX LV 0 Cur LV 3 Open LV 3 Max PV 0 Cur PV 1 Act PV 1 VG Size 5.46 TiB PE Size 4.00 MiB Total PE 1430794 Alloc PE / Size 1430794 / 5.46 TiB Free PE / Size 0 / 0 VG UUID 6fFfbz-tT9X-pYYh-iimO-KkEp-SlsI-mjQ3LO
__________________
| Main Rig | i7-2600K @ TBA | CPU-370 | Maximus IV Extreme-Z | 16GB RAM TBA | EVGA GTX580 @ TBA | VID-NX580 | Corsair AX850 | Powdercoated CM Cosmo S | OCZ Vertex 3 Max IOPS 120GB | Black Ice SR1 360+120+120 |
| Second Rig | i5-2500K @ 4.326Ghz | CM 212+ | Sabertooth P67 | 16GB Corsair Vengeance @ 1648Mhz | Asus HD6850 @ 900/4400 | Silverstone ST75F-P | Fractal Design Define R3 | 2 x 2TB Seagate ST2000DL003 | 2 x 500GB Samsung HD501LJ | BenQ G2420HD | |
|
|
|
|
|
#19 | |
|
Member
Join Date: Jun 2001
Location: Brisbane
Posts: 19,937
|
Quote:
The "pvresize" command with no size arguments will resize a PV to the full size of either the partition on block device it's sitting on.
__________________
Child's Play Charity |
|
|
|
|
|
|
#20 | |
|
Member
Join Date: Oct 2007
Location: NSW, In a house.
Posts: 3,473
|
Quote:
What would the PV be? /dev/md0? Would I need to issue: Code:
pvresize /dev/md0
__________________
| Main Rig | i7-2600K @ TBA | CPU-370 | Maximus IV Extreme-Z | 16GB RAM TBA | EVGA GTX580 @ TBA | VID-NX580 | Corsair AX850 | Powdercoated CM Cosmo S | OCZ Vertex 3 Max IOPS 120GB | Black Ice SR1 360+120+120 |
| Second Rig | i5-2500K @ 4.326Ghz | CM 212+ | Sabertooth P67 | 16GB Corsair Vengeance @ 1648Mhz | Asus HD6850 @ 900/4400 | Silverstone ST75F-P | Fractal Design Define R3 | 2 x 2TB Seagate ST2000DL003 | 2 x 500GB Samsung HD501LJ | BenQ G2420HD | |
|
|
|
|
|
|
#21 |
|
48656C6C6F20576F726C6421
Join Date: Jun 2001
Location: At a desk. Distro:Ubuntu
Posts: 7,078
|
PV = Physical Volume (on a partition)
LV = Logical Volume (on a PV) Partition must be made bigger to made PV bigger, which in turn must be bigger to make LV bigger.
__________________
If practice makes perfect, and nobody's perfect, why practice? |
|
|
|
|
|
#22 | |
|
Member
Join Date: Mar 2003
Location: Armadale, Melbourne
Posts: 1,653
|
Quote:
Code:
# pvdisplay http://www.redhat.com/magazine/009jul05/features/lvm2/
__________________
f3n.org|systems admin, graphics & foss software Canon Eos 40D. Canon 50mm f1.8. Tamron SP AF28-75mm F/2.8 XR Di LD Aspherical (IF). Sigma EF 500 DG Super ETTL Flash(Broken! :/) Last edited by f3n1x; 27th June 2012 at 10:47 AM. |
|
|
|
|
|
|
#23 | ||
|
Member
Join Date: Oct 2007
Location: NSW, In a house.
Posts: 3,473
|
Quote:
Code:
admin@server:~$ sudo pvdisplay [sudo] password for admin: --- Physical volume --- PV Name /dev/md0 VG Name Array PV Size 5.46 TiB / not usable 3.50 MiB Allocatable yes (but full) PE Size 4.00 MiB Total PE 1430794 Free PE 0 Allocated PE 1430794 PV UUID S9aCm8-cagB-xelg-tfgL-UZXz-KI5x-y3GbYa What am I missing? ![]() Quote:
__________________
| Main Rig | i7-2600K @ TBA | CPU-370 | Maximus IV Extreme-Z | 16GB RAM TBA | EVGA GTX580 @ TBA | VID-NX580 | Corsair AX850 | Powdercoated CM Cosmo S | OCZ Vertex 3 Max IOPS 120GB | Black Ice SR1 360+120+120 |
| Second Rig | i5-2500K @ 4.326Ghz | CM 212+ | Sabertooth P67 | 16GB Corsair Vengeance @ 1648Mhz | Asus HD6850 @ 900/4400 | Silverstone ST75F-P | Fractal Design Define R3 | 2 x 2TB Seagate ST2000DL003 | 2 x 500GB Samsung HD501LJ | BenQ G2420HD | Last edited by -Sk3tChY-; 5th July 2012 at 8:19 PM. |
||
|
|
|
|
|
#24 |
|
48656C6C6F20576F726C6421
Join Date: Jun 2001
Location: At a desk. Distro:Ubuntu
Posts: 7,078
|
That link explains everything nicely. Nothing more needs to be said.
__________________
If practice makes perfect, and nobody's perfect, why practice? |
|
|
|
|
|
#25 |
|
Member
Join Date: Oct 2007
Location: NSW, In a house.
Posts: 3,473
|
Code:
root@server: resize2fs /dev/mapper/Array-Home resize2fs 1.41.11 (14-Mar-2010) Filesystem at /dev/mapper/Array-Home is mounted on /home; on-line resizing required old desc_blocks = 349, new_desc_blocks = 465 Performing an on-line resize of /dev/mapper/Array-Home to 1948141568 (4k) blocks. ![]() I had a friend give me a hand, hopefully after this resize the array will be expanded. Thanks for the help Hyrax, elvis and others.
__________________
| Main Rig | i7-2600K @ TBA | CPU-370 | Maximus IV Extreme-Z | 16GB RAM TBA | EVGA GTX580 @ TBA | VID-NX580 | Corsair AX850 | Powdercoated CM Cosmo S | OCZ Vertex 3 Max IOPS 120GB | Black Ice SR1 360+120+120 |
| Second Rig | i5-2500K @ 4.326Ghz | CM 212+ | Sabertooth P67 | 16GB Corsair Vengeance @ 1648Mhz | Asus HD6850 @ 900/4400 | Silverstone ST75F-P | Fractal Design Define R3 | 2 x 2TB Seagate ST2000DL003 | 2 x 500GB Samsung HD501LJ | BenQ G2420HD | |
|
|
|
|
|
#26 |
|
Member
Join Date: Jun 2001
Location: Brisbane
Posts: 19,937
|
Run "watch df -h" in another terminal and you'll see the size of the mounted partition grow in real time.
You can run that as a non-root account (no admin/root/sudo access needed).
__________________
Child's Play Charity |
|
|
|
|
|
#27 | ||
|
Member
Join Date: Oct 2007
Location: NSW, In a house.
Posts: 3,473
|
Quote:
![]() Really noob question here; how do I get another terminal? ![]() I vaguely remember Linux having the ability to run like, multiple user sessions at once. I'm not sure what the proper name for it is, but essentially you press something like CTRL+F* and it gives you multiple shells from like F2-F9. Is this what you meant? Quote:
__________________
| Main Rig | i7-2600K @ TBA | CPU-370 | Maximus IV Extreme-Z | 16GB RAM TBA | EVGA GTX580 @ TBA | VID-NX580 | Corsair AX850 | Powdercoated CM Cosmo S | OCZ Vertex 3 Max IOPS 120GB | Black Ice SR1 360+120+120 |
| Second Rig | i5-2500K @ 4.326Ghz | CM 212+ | Sabertooth P67 | 16GB Corsair Vengeance @ 1648Mhz | Asus HD6850 @ 900/4400 | Silverstone ST75F-P | Fractal Design Define R3 | 2 x 2TB Seagate ST2000DL003 | 2 x 500GB Samsung HD501LJ | BenQ G2420HD | |
||
|
|
|
|
|
#28 |
|
Member
Join Date: Jun 2001
Location: Brisbane
Posts: 19,937
|
Either SSH in a second time, or if you're at the physical console hit ALT+F2 to go to the second virtual terminal (and ALT+F1 to go back to the first).
You can use up to F6, as F7 and above are reserved for X11.
__________________
Child's Play Charity |
|
|
|
|
|
#29 | |
|
48656C6C6F20576F726C6421
Join Date: Jun 2001
Location: At a desk. Distro:Ubuntu
Posts: 7,078
|
Quote:
The root account is disabled by default in Ubuntu, however You can get a root shell in Ubuntu easily enough by typing in "sudo bash" and you'll see the dollar sign replaced with a hash which indicates root, but this is potentially dangerous if you accidentally enter a wrong command that could trash part or all of your system so I'd advise you stay as an unprivileged user (the dollar sign) and execute root commands only as needed with the "sudo" prefix.
__________________
If practice makes perfect, and nobody's perfect, why practice? |
|
|
|
|
|
|
#30 |
|
Member
Join Date: Oct 2007
Location: NSW, In a house.
Posts: 3,473
|
Thanks for the help guys, as always I appreciate it.
![]() I just took another look at the server and the file system expansion looks to have completed without a hitch: Code:
The filesystem on /dev/mapper/Array-Home is now 1948141568 blocks long. Code:
admin@server:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/Array-Root
19G 1.3G 17G 8% /
none 431M 212K 431M 1% /dev
none 436M 0 436M 0% /dev/shm
none 436M 2.1M 434M 1% /var/run
none 436M 0 436M 0% /var/lock
none 436M 0 436M 0% /lib/init/rw
/dev/mapper/Array-Home
7.2T 4.1T 3.0T 58% /home
![]() I am a very happy camper now.
__________________
| Main Rig | i7-2600K @ TBA | CPU-370 | Maximus IV Extreme-Z | 16GB RAM TBA | EVGA GTX580 @ TBA | VID-NX580 | Corsair AX850 | Powdercoated CM Cosmo S | OCZ Vertex 3 Max IOPS 120GB | Black Ice SR1 360+120+120 |
| Second Rig | i5-2500K @ 4.326Ghz | CM 212+ | Sabertooth P67 | 16GB Corsair Vengeance @ 1648Mhz | Asus HD6850 @ 900/4400 | Silverstone ST75F-P | Fractal Design Define R3 | 2 x 2TB Seagate ST2000DL003 | 2 x 500GB Samsung HD501LJ | BenQ G2420HD | |
|
|
|
![]() |
| Bookmarks |
|
Sign up for a free OCAU account and this ad will go away! |
| Thread Tools | |
|
|