LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-07-2010, 01:33 AM   #16
cmjoey
LQ Newbie
 
Registered: Jan 2010
Posts: 10

Original Poster
Rep: Reputation: 0

Quote:
Originally Posted by lazlow View Post
IF you are really still running 5.2 (and have not unknowingly upgraded to 5.3,5.4; many have) those updates are over two years old. Running a internet facing system without updates for that long is probably pretty risky. Post the results of:



and



This will allow us to access where you really are.

Please see the results below.

> > > [root@np ~]# cat /etc/redhat-release
> > > CentOS release 5.2 (Final)
> > > [root@np ~]# uname -a
> > > Linux np.net 2.6.18-92.1.18.el5 #1 SMP Wed Nov 12 09:19:49 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
> > > [root@np ~]#


Fyi & Thanks,
Joey
 
Old 01-07-2010, 01:49 AM   #17
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Well, you are still running 5.2. I would advise doing a backup of anything important and then applying the updates. After you reboot (necessary whenever kernel is updated) there will probably be more updates (5.2->5.3, then 5.3 updates). Although I have not updated a Centos system that was two dot releases behind before.

You should set up a maintenance schedule to keep your system up with current updates. As a rough guess I would say at least once a month(probably more often) do backups and apply updates.
 
Old 01-07-2010, 01:50 AM   #18
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Well, you are still running 5.2. I would advise doing a backup of anything important and then applying the updates. After you reboot (necessary whenever kernel is updated) there will probably be more updates (5.2->5.3, then 5.3 updates). Although I have not updated a Centos system that was two dot releases behind before.

You should set up a maintenance schedule to keep your system up with current updates. As a rough guess I would say at least once a month(probably more often) do backups and apply updates.
 
Old 01-08-2010, 01:30 AM   #19
cmjoey
LQ Newbie
 
Registered: Jan 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by lazlow View Post
Well, you are still running 5.2. I would advise doing a backup of anything important and then applying the updates. After you reboot (necessary whenever kernel is updated) there will probably be more updates (5.2->5.3, then 5.3 updates). Although I have not updated a Centos system that was two dot releases behind before.

You should set up a maintenance schedule to keep your system up with current updates. As a rough guess I would say at least once a month(probably more often) do backups and apply updates.

Thank you for your advise! But before we start the updates i would like to mount first the entire 2nd harddisk, this will be use as back up and get a bigger available space from harddisk 1.

Kindly provide us the complete syntax to do this job. For your reference please see below the latest update from fdisk -l.

login as: root
root@192.168.1.6's password:
Last login: Fri Jan 8 09:34:11 2010
[root@np ~]# fdisk -l

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 9729 78043770 8e Linux LVM

Disk /dev/hdd: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdd1 1 100 803218+ 83 Linux
/dev/hdd2 5100 9728 37182442+ f W95 Ext'd (LBA)
[root@np ~]# more /etc/fstab
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
[root@np ~]#
 
Old 01-08-2010, 11:27 AM   #20
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
You still not have stated(that I can see) if you need to retain the information on the MS drive or not. If you do, look back to post #12. If you do not, it would be easier to redo the partition as a Linux drive (gparted is great for this) and mount it just like you did the other partition.
 
Old 01-08-2010, 11:38 AM   #21
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
You still not have stated(that I can see) if you need to retain the information on the MS drive or not. If you do, look back to post #12. If you do not, it would be easier to redo the partition as a Linux drive (gparted is great for this) and mount it just like you did the other partition.
 
Old 01-08-2010, 12:11 PM   #22
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
You still not have stated(that I can see) if you need to retain the information on the MS drive or not. If you do, look back to post #12. If you do not, it would be easier to redo the partition as a Linux drive (gparted is great for this) and mount it just like you did the other partition.
 
Old 01-08-2010, 11:37 PM   #23
cmjoey
LQ Newbie
 
Registered: Jan 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by lazlow View Post
You still not have stated(that I can see) if you need to retain the information on the MS drive or not. If you do, look back to post #12. If you do not, it would be easier to redo the partition as a Linux drive (gparted is great for this) and mount it just like you did the other partition.
OK, i would prefer to redo the partition as a Linux drive for my 2nd Harddisk (entire harddrive), i need more available space for my Linux Server. Did you mentioned about the "gparted" is great for this, could you give me the complete syntax to complete this job.

Many thanks,
More Power!
 
Old 01-08-2010, 11:48 PM   #24
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
gparted is a GUI application---no syntax to worry about.

If it is not already installed, it should be available using the package manager.

Also, it comes as a stand-alone bootable CD. Good thing to have in your bag o'tricks......
 
Old 01-08-2010, 11:55 PM   #25
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Gparted is available from the epel repo.

It is pretty easy to run. Fire it up(applications->System Tools->Gparted). Select the drive you want, select the partition you want, then Partition->Format to(usually Ext3). It will take a while. After that mount it just like you did the other one. You cannot work on a mounted partition, which should give you some protection here as you stated the partition was not mounted.
 
Old 01-08-2010, 11:57 PM   #26
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Gparted is available from the epel repo.

It is pretty easy to run. Fire it up(applications->System Tools->Gparted). Select the drive you want, select the partition you want, then Partition->Format to(usually Ext3). It will take a while. After that mount it just like you did the other one. You cannot work on a mounted partition, which should give you some protection here as you stated the partition was not mounted.
 
Old 01-11-2010, 07:49 PM   #27
cmjoey
LQ Newbie
 
Registered: Jan 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by lazlow View Post
Gparted is available from the epel repo.

It is pretty easy to run. Fire it up(applications->System Tools->Gparted). Select the drive you want, select the partition you want, then Partition->Format to(usually Ext3). It will take a while. After that mount it just like you did the other one. You cannot work on a mounted partition, which should give you some protection here as you stated the partition was not mounted.
Hi,

I tried to install the Gparted but the system requires online updates, my questions is, " is it safe to run these updates to be able to install the gparted?" i have to install the 2nd harddisk because i have noticed the files getting bigger and bigger everyday and infact the available space is only 1.7 GB.
How do i know what specific files or data is getting bigger everyday, those files in Samba is not changing their sizes? please help thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install CentOS 5 live CD to Harddisk boy_to_man Linux - General 4 04-18-2010 02:17 PM
Mounting second Harddisk in Centos 5 global888 Linux - Newbie 6 07-07-2009 06:26 AM
need to dual boot centos 5.1 with xp but centos is already installed. extendedping Linux - Software 4 05-13-2008 08:40 PM
Installed TightVNC. Fails. Can't find fonts when ran. Running CentOS. CrewXp Linux - Software 12 08-16-2007 02:06 PM
Adding a new RAID HardDisk in a already running CentOS 4.0 romeo_tango Linux - Hardware 5 12-07-2006 04:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration