LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > 4MLinux
User Name
Password
4MLinux This forum is for the discussion of 4MLinux.

Notices


Reply
  Search this Thread
Old 10-06-2017, 02:11 PM   #1
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 692

Rep: Reputation: 133Reputation: 133
File system support in The Smallest Server Suite (TheSSS) 23.0 and later.


Hi,

TheSSS 23.0 will be released in two weeks. It will come with a new installer, which is going to support ext2, ext3, ext4, reiserfs, jfs, xfs, btrfs and nilfs2 partitions. Additionally, much improved support for SCSI/RAID will be available out of the box.

.

Last edited by zk1234; 10-06-2017 at 04:01 PM.
 
Old 10-06-2017, 02:21 PM   #2
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 692

Original Poster
Rep: Reputation: 133Reputation: 133
ext2/ext3/ext4/reiserfs

Installation:
1) Boot TheSSS liveCD (or USB).
2) Ask BusyBox for help (*):
Code:
uevent mdevd & mdev -s
3) Create a Linux partition with cfdisk.
4) Format the partition, e.g.
Code:
mkfs.ext3 /dev/sda1
5) Run the 4MLinux installation script
Code:
install2hd
Done!

(*) This command starts a daemon, which works like a "mixture" of udev and partprobe.
 
Old 10-06-2017, 02:30 PM   #3
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 692

Original Poster
Rep: Reputation: 133Reputation: 133
jfs/xfs

Installation:
1) Boot TheSSS liveCD (or USB).
2) Ask BusyBox for help:
Code:
uevent mdevd & mdev -s
3) Create a Linux partition with cfdisk.
4) Format the partition, e.g.
Code:
mkfs.xfs /dev/sda1
5) Run the 4MLinux installation script:
Code:
install2hd
6) Boot your new TheSSS.
7) Configure the Internet connection:
Code:
netconfig
8) Download and install GRUB:
Code:
update-grub
Done!
 
Old 10-06-2017, 02:59 PM   #4
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 692

Original Poster
Rep: Reputation: 133Reputation: 133
btrfs/nilfs2

1) Create two Linux partitions, e.g.
/dev/sda1 --> small ext4 partition (boot partition)
/dev/sda2 --> big btrfs partition
2) Install TheSSS on the ext4 partition.
3) Boot TheSSS located on the ext4 partition.
4) Now use TheSSS located on the ext4 partition to:
a) install TheSSS on the btrfs partition,
b) install GRUB.

Done!

Last edited by zk1234; 10-07-2017 at 12:47 PM.
 
Old 10-06-2017, 03:26 PM   #5
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 692

Original Poster
Rep: Reputation: 133Reputation: 133
(Advanced) RAID solution example.

1) Create a partition for TheSSS:
/dev/sda1 --> small ext4 partition
2) Install TheSSS on /dev/sda1.
3) Boot your new TheSSS.
4) Create a RAID partition:
/dev/sda1 --> small ext4 partition
/dev/md0p1 --> big RAID partition
5) Mount /dev/md0p1 somewhere, e.g.:
Code:
mount /dev/md0p1 /media/raid
6) Make sure that Apache and ProFTPD are not running:
Code:
httpd stop
ftpd stop
7) Move files:
Code:
mv -fr /srv/http /media/raid
mv -fr /srv/ftp /media/raid
8) Add the RAID partition to /etc/fstab.local:
Code:
/dev/md0p1 /srv auto rw
9) Reboot.

Done!
Now you have TheSSS running on /dev/sda1. However, all the files hosted by the HTTP and FTP servers are located on the RAID partition with all the resulting benefits.

Last edited by zk1234; 10-07-2017 at 02:10 PM.
 
Old 10-06-2017, 03:57 PM   #6
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 692

Original Poster
Rep: Reputation: 133Reputation: 133
General file system recomendations.

The default filesystem in 4MLinux (and TheSSS being its official fork) is ext4, which (in my very subjective opinion) is the best. However, it may happen that one of the other file systems supported by 4MLinux is better for your hardware configuration. Examples:
1) Your server hosts many small files of similar sizes. Try reiserfs.
2) Your server hosts rather big files. Try xfs.
3) Your headache is CPU utilization. Try jfs.
4) Your headache is HDD (slow read-write). Try ext2 or nilfs2.
....

Have fun :-)

.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: TheSSS (The Smallest Server Suite) 22.2 Debuts with Linux 4.9.43, Apache 2.4.27 LXer Syndicated Linux News 0 08-21-2017 02:45 PM
The Smallest Server Suite tutorial by OSTechNix zk1234 4MLinux 0 02-14-2017 09:48 PM
smallest live cd to support ext4? johnson_steve Linux - Distributions 1 02-24-2013 09:38 PM
LXer: World's Smallest Linux System on View LXer Syndicated Linux News 1 04-24-2006 06:23 AM
NTFS file system support zokter Linux - General 7 10-20-2003 12:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > 4MLinux

All times are GMT -5. The time now is 10:02 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration