Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » Installation Support

Post new topic   Reply to topic
How to change Disks on fdisk?
View previous topic :: View next topic  
Author Message
simbad
Senior Member


Joined: 30 Jun 2011
Posts: 106

PostPosted: Sat Oct 20, 2012 9:20 am    Post subject: How to change Disks on fdisk? Reply with quote

Hi all,

I'm trying to install, but when I need to configure my partions I can't know how to change between disk1 and disk2.

My disks configurations:
Disk 1 STAT: 500GB (i need this for /)
Disk 2 STAT: 500GB (/ srv)
Disk 3 STAT: 2000GB (/ backup)
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Sat Oct 20, 2012 11:58 am    Post subject: Reply with quote

To list the disks & partitions do
Code:
fdisk -l

to partition disks do for example /dev/sdb
Code:
cfdisk /dev/sdb

and while you are at 'setup' choose disks as mount points.
You can take a look at wiki videos for examples.
http://sms.it-ccs.com/wiki/#LinkTarget_2616

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
simbad
Senior Member


Joined: 30 Jun 2011
Posts: 106

PostPosted: Sat Oct 20, 2012 12:28 pm    Post subject: Reply with quote

Thanks Smile

Can yu sugest how do you recomend partition for best performance (and what format / ext4,.. Smile
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Sat Oct 20, 2012 3:12 pm    Post subject: Reply with quote

Well that depends on what you are going to use for...
I usually create a boot partition and if necessary /home or /var or /opt depending on the usage and the setup.
As for the filesystem most people use ext3/ext4 as it's quite mature and stable and has great recovery in case of a disk failure, I personally prefer JFS though for my installations, especially in RAID 5 arrays.

You are going to dedicate a whole disk for /srv, so I'm guessing you are to setup a web server, since /srv has symlinks to /var/www/ only.

The filesystem it's up to you...

Disk 1:
/boot 500MB are quite enough to play.
/
Disk 2:
/srv

Disk 3:
/Backup or /mnt/backup

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
simbad
Senior Member


Joined: 30 Jun 2011
Posts: 106

PostPosted: Sat Oct 20, 2012 4:19 pm    Post subject: Reply with quote

THANKS gerasimos_h!!

I have setup as you sugestion.

1. More. when i install http://www.configserver.com/cp/csf.html i recive this error:

Could not open /etc/crontab: No such file or directory at /etc/csf/csf.pl line 1897.

Where do we have crontab?
/var/spool/cron/crontabs ?
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Sat Oct 20, 2012 6:12 pm    Post subject: Reply with quote

I believe CSF is looking for root's crontab and that's
/var/spool/cron/crontabs/root
so make a symlink like
Code:
ln -s /var/spool/cron/crontabs/root   /etc/crontab

or specify in CSF, if you can, /var/spool/cron/crontabs/root


gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » Installation Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional