View previous topic :: View next topic |
Author |
Message |
simbad Senior Member
Joined: 30 Jun 2011 Posts: 106
|
Posted: Sat Oct 20, 2012 9:20 am Post subject: How to change Disks on fdisk? |
|
|
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 |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Sat Oct 20, 2012 11:58 am Post subject: |
|
|
To list the disks & partitions do
to partition disks do for example /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 |
|
simbad Senior Member
Joined: 30 Jun 2011 Posts: 106
|
Posted: Sat Oct 20, 2012 12:28 pm Post subject: |
|
|
Thanks
Can yu sugest how do you recomend partition for best performance (and what format / ext4,..  |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Sat Oct 20, 2012 3:12 pm Post subject: |
|
|
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 |
|
simbad Senior Member
Joined: 30 Jun 2011 Posts: 106
|
Posted: Sat Oct 20, 2012 4:19 pm Post subject: |
|
|
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 |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Sat Oct 20, 2012 6:12 pm Post subject: |
|
|
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 |
|
|