Solved

openfiler linux partitions

Posted on 2010-08-12
11
1,095 Views
Last Modified: 2012-05-10
Ok I'm very new to linux based platforms, specifically openfiler, I'm trying to set this up on a laptop, when I install and go with the default partitions I obviosuly have no space left for creating volumes, what way do I need to partition this to have space for volumes?
what is sda1 sda2 sda3 etc? and what does the / mean ?
I'm looking for the basics :  )
11082010223.jpg
0
Comment
Question by:Sid_F
  • 6
  • 4
11 Comments
 
LVL 5

Author Comment

by:Sid_F
Comment Utility
ok I see sda1 is sata drive first partition and for instance sdb2 is the second partition on the second sata drive
0
 
LVL 76

Expert Comment

by:arnold
Comment Utility
What type of service you want this openfiler setup to provide. SMB and NFS shares do not require a separate volume partition.
You can use directories within the existing file system to share.

/dev/sda1 /boot 102MB
/dev/sda2 / 15000MB
/dev/sda3 swap 2000
you will have some 60GB available.

You may want to explore using LVM.
0
 
LVL 5

Author Comment

by:Sid_F
Comment Utility
Ok that worked I can see the 60 gig and add volumes etc I also used this really good link http://www.youtube.com/watch?v=M-ps75Ob2p4
I wanted to remove everything to start from scratch but I cannot seem to delete the volumes from the volume group, they are not in use and all iscsi targets and lun mappings have been removed, I can edit them and select to create snapshot but the delete button does nothing?

0
 
LVL 5

Author Comment

by:Sid_F
Comment Utility
not sure why i cannot remove via browser? so used vgchange –a n <volume group name> and then vgremove <volume group name which worked fine
0
 
LVL 76

Expert Comment

by:arnold
Comment Utility
Ran into a similar problem, you have to login into (SSH using putty) the system and then delete the volume using fdisk /dev/sda
use the p (print) to see how/what the setup is. and make sure not to delete the first three partitions.

Since you are building this on a laptop, is this for testing/exploration/evaluation purposes?
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 5

Author Comment

by:Sid_F
Comment Utility
purely test purposes
0
 
LVL 76

Expert Comment

by:arnold
Comment Utility
See if you have these volumes created under the LVM and you would need to use the lvremove to delete the partition/valume
LVM commands:
pv-Physical Volume
pvscan
pvdisplay
lv-Logical volume
lvscan
lvdisplay

you can have multiple Logical volumes in a physical volume
0
 
LVL 5

Author Comment

by:Sid_F
Comment Utility
In very basic terms what is lvm and what is it used for. (I didn't create under lvm)
0
 
LVL 76

Accepted Solution

by:
arnold earned 500 total points
Comment Utility
LVM is the logical volume manager.
It has more flexibility than the raw partitioning you used for your OS setup.
It provides the flexibility of adding addional space from other drives and making it appear as a single resource. Using LVM the resources become available immediately versus raw device which often requires a reboot.

LVM is what openfiler interface uses when it creates volumes.

You should take sometime to see it.
http://tldp.org/HOWTO/LVM-HOWTO/
If you are setting up openfiler for real, check out the use of RAID and LVM for the OS and the data.
0
 
LVL 2

Expert Comment

by:ramkumar_rkin
Comment Utility
LVM is a logical volume manager for the Linux kernel; it manages disk drives and similar mass-storage devices, in particular large ones. The term "volume" refers to a disk drive or partition thereof.

Check below link for more details.
http://en.wikipedia.org/wiki/Logical_Volume_Manager_%28Linux%29

0
 
LVL 5

Author Closing Comment

by:Sid_F
Comment Utility
excellent
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Currently, there is not an RPM package available under the RHEL/Fedora/CentOS distributions that gives you a quick and easy way to allow PHP to interface with Oracle. As a result, I have included a set of instructions on how to do this with minimal …
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

743 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now