Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-15-2012, 10:09 AM   #1
longdongsilver
Confirmed User
 
Join Date: Aug 2003
Posts: 378
Linux ssh commands - what to do here

Thought i would try something myself since the server guy that has been helping us is away for 2 days.

So ordered a new server to store backups on, i didnt want raid but didnt see the server came with software raid 1 already... thought i'd try to get rid of it myself, never really messed with servers before, nor linux.


server came with software raid 1 it has 2x2tb drives

I want to get rid of all raid. So i was told to reinstall centos 5 64 bit with cpanel

Before i reinstalled i was told to select install from host panel without raid and that i would have to format and install the 2nd drive through whm after.

However every time i try this, the second drive when i mount it is only showing 21 gigs of free space??

What is happening with this. Is it not formatting and still has the old partitions on it?

Home2 is showing only 21 gigs of space? it should be showing 1.8tb or more??

I am confused over this how do i just get the server to enable home2 to have 1.8tb of space?

i am seeing this in fdisk -l

Disk /dev/sda: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20478976+ 83 Linux
/dev/sda2 2550 243136 1932506112 83 Linux
/dev/sda3 243136 243201 523264 82 Linux swap / Solaris

Disk /dev/sdb: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 2612 20971520+ fd Linux raid autodetect
/dev/sdb2 2612 243136 1932012544 fd Linux raid autodetect
/dev/sdb3 243136 243201 525920 82 Linux swap / Solaris



seeing some auto raid detection on sdb?? why is that not gone? after i formatted through whm?



in df -f



Filesystem Size Used Avail Use% Mounted on
rootfs 20G 3.6G 15G 20% /
/dev/root 20G 3.6G 15G 20% /
none 12G 140K 12G 1% /dev
/dev/sda2 1.8T 243M 1.7T 1% /home
tmpfs 12G 0 12G 0% /dev/shm
/dev/loop0 485M 13M 447M 3% /tmp
/dev/loop0 485M 13M 447M 3% /var/tmp
/dev/root 20G 3.6G 15G 20% /var/named/chroot/var/run/dbus
/dev/sdb1 20G 173M 19G 1% /home2



what is happening? and how to get that auto raid detection off?

can i expand home2 to 1.8tb to match drive one with ssh?

im searching google for format over ssh or some way to make the home2 partition larger but i cant find any way to do it. It seems the software raid is gone from drive 1 now, but i cant get drive 2 to show up with any space more than 21 gigs, i;ve reinstalled the OS 3 times now.

thanks for any guidance
longdongsilver is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-15-2012, 12:07 PM   #2
jayme_
Confirmed User
 
Industry Role:
Join Date: Jan 2005
Location: new york city
Posts: 158
to get rid of the 'linux raid autodetect' you need to re-partition (i suggest using 'parted' rather than 'fdisk' since fdisk has size limitations of 1.5TB (and it does not work on GPT table types)) and set the partition types to 'Linux'

After you partition the sdb properly via 'parted' you need to make a filesystem on it (i.e. mkfs.ext3 /dev/sdb1).


Hope that helps, good luck ;)

Last edited by jayme_; 03-15-2012 at 12:08 PM..
jayme_ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-15-2012, 05:49 PM   #3
longdongsilver
Confirmed User
 
Join Date: Aug 2003
Posts: 378
Quote:
Originally Posted by jayme_ View Post
to get rid of the 'linux raid autodetect' you need to re-partition (i suggest using 'parted' rather than 'fdisk' since fdisk has size limitations of 1.5TB (and it does not work on GPT table types)) and set the partition types to 'Linux'

After you partition the sdb properly via 'parted' you need to make a filesystem on it (i.e. mkfs.ext3 /dev/sdb1).


Hope that helps, good luck ;)


Thanks very much for that , it helped me get this fixed.

Very grateful.

cheers
longdongsilver is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.