Solved

JBOD partition on Ubuntu

Posted on 2010-11-22
7
1,900 Views
Last Modified: 2012-05-10
Ubuntu 8.04
6 JBOD 600 disks

My developer requested that I create one partition from all the JBOD disks.  He doesn't want RAID.  How do I create this?
0
Comment
Question by:md168
  • 3
  • 2
  • 2
7 Comments
 
LVL 47

Expert Comment

by:dlethe
ID: 34192781
That can be interpreted 2 ways, does he request a "whole-disk" configuration, with technically no partitions, or does he request a disk be built with a single partition.

Best practices, is a single-partition,  meaning if you have /dev/sda as the device name for the whole disk, then /dev/sda1 is for first partition on the whole drive

Here is a nice tutorial w/ examples, going under premise that it is not a whole-disk config
0
 

Author Comment

by:md168
ID: 34192831
It is an 8 disk system.  I have mirrored drives for the boot partition.  The developer wants /data to consist of 6 disks.  

Your posting is missing the link with the examples.
0
 
LVL 47

Expert Comment

by:dlethe
ID: 34192899
Sorry ..

http://tldp.org/HOWTO/Partition/fdisk_partitioning.html

The first example on 5.2 will be fine for you, just create 1 primary partition per disk.
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 77

Expert Comment

by:arnold
ID: 34192928
/data consisting of 6 disk could mean that they want a single RAID 0 partition.
The size of which will be 6*600 and provides no fault tolerance.  i.e. a failure of any drive will result in total data loss.
You would use mdadm to create /dev/md0 that is made up of /dev/sd[a-f]

http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch26_:_Linux_Software_RAID
mdadm --create --verbose /dev/md1 --level=0 \
   --raid-devices=6 /dev/sd[c-h]
0
 

Author Comment

by:md168
ID: 34193057
arnold:  The developer specifically said no RAID.  I don't understand why he would want the one drive to fill up, then use the next, then the next (append mode).  
0
 
LVL 77

Expert Comment

by:arnold
ID: 34194122
You do not have to call it raid, you can use LVM and group all the drives as a single volume.  You might as well go back to the developer and have them clarify what exactly do they want.  
Do they want something like:
/data
       /mount1
       /mount2
       /mount3
       /mount4
       /mount5
       /mount6    

Depending on the application that is being used.  You might as well ask what size files will be common, this way you can optimize the performance if there will be only large files. You would not need to allocated a large  number of inodes i.e. mkfs.ex* -i 150000  /dev/sdax etc.
0
 
LVL 77

Accepted Solution

by:
arnold earned 500 total points
ID: 34194165
May be this is what your developer has in mind,
http://tldp.org/HOWTO/LVM-HOWTO/recipethreescsistripe.html
This is still a stripe (RAID 0) no fault tolerance)
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Xymon customize http timeout 2 86
nagios alerts 3 46
Install Predefined Certificate on Ubunto 4 39
Setting up two Raspberry Pi gateways/routers 3 62
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question