LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-12-2011, 02:38 PM   #1
jraclarke
Member
 
Registered: May 2006
Location: Farnham, Surrey, UK (Chile until Dec 2011)
Distribution: Fedora Core 14
Posts: 32

Rep: Reputation: 15
file system question


Hi Everyone,

Not really too much of a problem but I thought I'd ask:

I've just installed Fedora 14 on a dual boot. I went with the suggested installation (first time I have done this), but I was wondering, do I have swap space? When I type "cfdisk" I get:

Code:
       Name                    Flags                 Part Type            FS Type                         [Label]                      Size (MB)
 -----------------------------------------------------------------------------------------------------------------------------------------------------------
       sda1                                           Primary             vfat                            [RECOVERY]                     5099.68             
       sda2                                           Primary             ntfs                                                          26213.97
                                                                          Unusable                                                          1.04            *
       sda3                    Boot                   Primary             ext4                                                            524.29            *
       sda5                    NC                     Logical             LVM2_member                                                   28172.10            *
I cannot see any swap tagged partitions here, but when I type "swapon -s" I get:
Code:
Filename				Type		Size	Used	Priority
/dev/dm-1                               partition	4128764	0	-1
So it says there is 4GB of swap space right?
Is this part of LVM2_member? I must admit I know very little about LVMs.
Also, where is sda4? Again is this within the LVM or something?

Thanks in advance!

James
 
Old 02-12-2011, 02:49 PM   #2
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware 14.1
Posts: 467

Rep: Reputation: 87
look in /etc/fstab and run lvdisplay as root
 
1 members found this post helpful.
Old 02-12-2011, 03:09 PM   #3
jraclarke
Member
 
Registered: May 2006
Location: Farnham, Surrey, UK (Chile until Dec 2011)
Distribution: Fedora Core 14
Posts: 32

Original Poster
Rep: Reputation: 15
That makes a lot more sense now,

Thanks!
 
Old 02-12-2011, 03:36 PM   #4
hurryi
Member
 
Registered: Apr 2010
Distribution: RHEL
Posts: 77

Rep: Reputation: 7
cat /proc/swa <tab> #press enter
 
Old 02-14-2011, 02:26 AM   #5
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware 14.1
Posts: 467

Rep: Reputation: 87
Quote:
Also, where is sda4? Again is this within the LVM or something?
You can have up to 4 Primary Partitions (sda1, sda2, sda3 and sda4). If the 4th partition is a Primary Partition, then you cannot have any more partitions.

OR

You may designate a Primary Partition to an Extented Partition. You may think of this as a promotion. In your case sda4 is an Extented Partition and therefore unuseable. Consequently may have Logical Partitions (sda5, sda6, ... up to about sda64). You have an LVM partition in sda5.

Inquisitveness is the key to understanding Linux. If you want to know how Slackers do it, just read ftp://ftp.slackware.com/pub/slackwar...README_LVM.TXT

Last edited by ChrisAbela; 02-14-2011 at 02:31 AM.
 
1 members found this post helpful.
Old 02-15-2011, 12:35 PM   #6
jraclarke
Member
 
Registered: May 2006
Location: Farnham, Surrey, UK (Chile until Dec 2011)
Distribution: Fedora Core 14
Posts: 32

Original Poster
Rep: Reputation: 15
Thanks!

James
 
  


Reply

Tags
fstab, lvm


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Total Noob Question (Operating System vs File System) fuzzy1 Linux - Newbie 14 02-06-2009 10:33 AM
File System Question spaceballs Slackware 30 07-02-2008 01:10 PM
file system question mokku Linux - Newbie 7 10-09-2007 06:21 AM
File system question mrrrl Linux - Newbie 6 04-08-2004 02:54 PM
Question on File System and File Copying hey_joe Linux - Newbie 2 11-05-2003 10:30 AM


All times are GMT -5. The time now is 11:48 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration