This process was collected by trial and error (mostly error) since most of the documents I found on the 'net were incomplete.
The cookbook/walkthrough on how to grow an Array on EBS at AWS...
Code:
# walkthrough by John Jones (jjones at cirrhus9 dot com)
umount /dev/md0
mdadm --stop /dev/md0
REM out the last line in /etc/fstab
# /dev/md0 /mnt/data-files xfs defaults 0 0
REM out the last line of /etc/mdadm/mdadm.conf
# ARRAY /dev/md0 level=raid0 num-devices=2 UUID=31a281bd:50deafca:edf6a245:a7933c25
Stop the instance.
Create new snapshot from existing volumes.
detach "current" sd[xx] volumes.
Create new volume from snapshots at higher capacity.
Attach to same /dev/sdX mount points while the instance is stopped.
Start the instance.
Assign EIP.
Login to the instance.
mdadm --create --verbose /dev/md0 --level=0 --raid-devices=2 /dev/sdb /dev/sdc
mdadm --examine --scan --config=/etc/mdadm/mdadm.conf >> /etc/mdadm/mdadm.conf
mkdir -v /mnt/data-files
Remove comment in /etc/fstab
/dev/md0 /mnt/data-files xfs defaults 0 0
# check the mount for errors:
xfs_check /dev/md0
# mount it
mount /dev/md0
/dev/md0 40G 49M 40G 1% /mnt/data-files
# Verify new capacity...
mdadm --detail /dev/md0 | grep "Array Size"
Array Size : 83885952 (80.00 GiB 85.90 GB)
# grow the new volumes
xfs_growfs -d /dev/md0
df -h | tail -1
/dev/md0 80G 49M 80G 1% /mnt/data-files
# reboot
reboot
# verify larger capacity
df -h | tail -1
/dev/md0 80G 49M 80G 1% /mnt/data-files
# Verify contents came across
ls -1 /mnt/data-files/
# Done.
Cleanup/delete "old" volumes.
Hi, all!
I've been working for one year as a Unix systems engineer(Solaris) in a large company.
Two days ago I found, that I didn't exactly know where should I grow up?
I can't drop this idea away and I'm still thinking about it. I'm trying to imagine myself in a next year.
Available... (1 Reply)
I am having an issue with Sun EBS Networker 7.3, (64 bit) (Sun Hardware, Solaris 9) where it expects an Oracle DB (11.5.10 with 10g Database (10.2.0.2)) size of 4294967295 bytes. The DB's get backed up anyway, but it's only happening to certain DB's. The warning messages occur at random intervals... (4 Replies)
Tim Bass
07-25-2008 02:34 AM
The admin*team at The UNIX Forums*have been considering moving the UNIX and*Linux*Forums to the clouds - the Amazon Web Services (AWS) cloud.* Amazon EC2 is one option to scale the forums, which is a*LAMP application.*
Amazon EC2 allows*us to rent dedicated... (3 Replies)
i am in process to install R12.1.1 on RHEL 6.1.
while installing pre-requisite on RHEL 6.1 i am facing following error :
rpm -ivh xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm
error: Failed dependencies:
libX11.so.6 is needed by xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386
... (3 Replies)
Hi ,
I am trying to impliment mod_proxy and mod_proxy_html as a reverse proxy for oracle EBS. Everything is working fine except the submenu links (still pointing to the internal url) of the modules tree view. Please help me.
Regards,
Arumon (0 Replies)
Hi,
I am trying to correct the following script to get total EBS usage from Amazon cloud. Can someone please help in correcting it. It appears that its not working properly.
t=0; for i in `ec2-describe-volumes | grep VOLUME | grep standard | awk '{print $3}'`; do t=`expr $t + $i`; done;... (2 Replies)
Hello All,
I am trying few stuff on Amazon S3 move files to EC2 (Ubuntu Server)
I am receiving daily 2 files in S# bucket
XYZ_2015-02-26_ 200.csv
ABC_2015-02-26_ 200.csv
I want to move daily received files to local EC2(Ubuntu server) and rename files to
XYZ_2015-02-26.csv... (3 Replies)
Discussion started by: krux_rap
3 Replies
LEARN ABOUT NETBSD
ciss
CISS(4) BSD Kernel Interfaces Manual CISS(4)NAME
ciss -- HP/Compaq Smart ARRAY 5/6 RAID controllers
SYNOPSIS
ciss* at pci? function ?
DESCRIPTION
The ciss driver provides support for the CISS interface implemented by fifth and later generations of the HP/Compaq Smart ARRAY family of
controllers.
The CISS interface is defined in the document entitled CISS Command Interface for SCSI-3 Support Open Specification, Version 1.04, Valence
Number 1, Compaq Computer Corporation, 2000/11/27.
This driver supports several Compaq and HP controllers implementing the CISS interface, including:
o Compaq Smart Array 5300 version 1
o Compaq Smart Array 5300 version 2
o Compaq Smart Array 5i version 1
o Compaq Smart Array 5i version 2
o HP Smart Array 5312
o HP Smart Array 6i
o HP Smart Array 641
o HP Smart Array 642
o HP Smart Array 6400
o HP Smart Array 6400 EM
o HP Smart Array E200
o HP Smart Array E200i
o HP Smart Array P400
o HP Smart Array P400i
o HP Smart Array P600
o HP Smart Array P800
o HP Smart Array V100
o HP Smart Array 1 through 13
These controllers support RAID 0, RAID 1, RAID 5, JBOD, and superpositions of those configurations.
Although the controllers are actual RAID controllers, the ciss driver makes them look just like SCSI controllers. All RAID configuration
must be done through the controllers' BIOSes.
Hardware from previous generations of this product family may be supported by the cac(4) driver.
SEE ALSO bio(4), cac(4), intro(4), pci(4), scsi(4), sd(4)HISTORY
The ciss driver first appeared in NetBSD 3.1.
AUTHORS
The ciss driver was written by Michael Shalayeff <mickey@openbsd.org>, and ported to NetBSD by Tonnerre Lombard <tonnerre@netbsd.org>.
BSD May 28, 2008 BSD