Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 23rd February 2009, 07:30 AM
maalamaal Offline
Registered User
 
Join Date: Jan 2009
Posts: 67
Exclamation 2 logical volumes

hi All,
i am using dell inspiron 640m laptop and i have dual boot now one is XP and other is fedora 9
in the boot menu i have 3 options one is xp and 2 fedora versions which i think is ok as i read some where that it stores last 3 versions in the boot menu

problem is when i select one of the fedora while booting i see a message saying 2 logical volumes present - i think i made some mistake while re installing my fedora
can some one explain why its happening and how do i get rid of it?
also if i have to post the message that i see how do i do it( is that message stored anywhere elese)?
Reply With Quote
  #2  
Old 23rd February 2009, 08:18 AM
marcelkraan's Avatar
marcelkraan Offline
Registered User
 
Join Date: Jul 2006
Location: Netherlands/Velsen (5km from amsterdam)
Posts: 230
mostly an error in the grub.conf

this is mine.... also running vista

cat /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd1,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd1,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.27.15-170.2.24.fc10.i686)
root (hd1,0)
kernel /vmlinuz-2.6.27.15-170.2.24.fc10.i686 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.27.15-170.2.24.fc10.i686.img
title Fedora (2.6.27.12-170.2.5.fc10.i686)
root (hd1,0)
kernel /vmlinuz-2.6.27.12-170.2.5.fc10.i686 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.27.12-170.2.5.fc10.i686.img
title Fedora (2.6.27.9-159.fc10.i686)
root (hd1,0)
kernel /vmlinuz-2.6.27.9-159.fc10.i686 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.27.9-159.fc10.i686.img
title Other
rootnoverify (hd0,1)
chainloader +1
Reply With Quote
  #3  
Old 23rd February 2009, 09:22 AM
Neo.Wong Offline
Registered User
 
Join Date: Feb 2009
Posts: 1
I think it might be an added swap LogVol.
try 'dmesg | grep LogVol'
or try 'lvdisplay'.
Reply With Quote
  #4  
Old 23rd February 2009, 10:44 AM
maalamaal Offline
Registered User
 
Join Date: Jan 2009
Posts: 67
this is what i get when i do dmesg | grep LogVol

[vemu@localhost ~]$ dmesg | grep LogVol
Kernel command line: ro root=/dev/VolGroup00/LogVol00 rhgb quiet
Adding 2031608k swap on /dev/mapper/VolGroup00-LogVol01. Priority:-1 extents:1 across:2031608k
[vemu@localhost ~]$
Reply With Quote
  #5  
Old 23rd February 2009, 10:47 AM
maalamaal Offline
Registered User
 
Join Date: Jan 2009
Posts: 67
this is how my grub.conf looks like

sudo cat /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,5)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=15
splashimage=(hd0,5)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.27.12-78.2.8.fc9.i686)
root (hd0,5)
psmouse.proto=imps
kernel /vmlinuz-2.6.27.12-78.2.8.fc9.i686 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.27.12-78.2.8.fc9.i686.img
title Fedora (2.6.25-0.234.rc9.git1.fc9.i686)
root (hd0,5)
psmouse.proto=imps
kernel /vmlinuz-2.6.25-0.234.rc9.git1.fc9.i686 ro root=UUID=365b1418-2b49-41ef-97a8-ec99f37b79ea rhgb quiet
initrd /initrd-2.6.25-0.234.rc9.git1.fc9.i686.img
title Other
rootnoverify (hd0,0)
chainloader +1
Reply With Quote
  #6  
Old 23rd February 2009, 11:00 AM
maalamaal Offline
Registered User
 
Join Date: Jan 2009
Posts: 67
[vemu@localhost ~]$ sudo /sbin/lvdisplay
[sudo] password for vemu:
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID xREMd7-xsGi-mL2B-YjR6-rGxt-H5ga-1B1t37
LV Write Access read/write
LV Status available
# open 1
LV Size 10.00 GB
Current LE 320
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0

--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID gEnWrP-5Bsk-qxC7-r0uE-pRym-V054-Xa3rec
LV Write Access read/write
LV Status available
# open 1
LV Size 1.94 GB
Current LE 62
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1

[vemu@localhost ~]$



how can i merge these 2logical volumes and make it only one logical volume?
Reply With Quote
  #7  
Old 23rd February 2009, 01:07 PM
SlowJet Offline
Registered User
 
Join Date: Jan 2005
Posts: 5,002
"how can i merge these 2logical volumes and make it only one logical volume?"

LogVol01 is the VMS swap file system (used for paging, swapping, virtual addresses, sleepmode and now cgroup (a small kerenel recovery area.) Your system needs it.

read the installation guide - section about partitioning, types, and the default vs custiom .

SJ
__________________
Do the Math
Reply With Quote
  #8  
Old 25th February 2009, 08:00 AM
maalamaal Offline
Registered User
 
Join Date: Jan 2009
Posts: 67
but it never used to say that i have 2 log vols before?
so u mean to say that my conf is alrite?
Reply With Quote
  #9  
Old 25th February 2009, 01:04 PM
SlowJet Offline
Registered User
 
Join Date: Jan 2005
Posts: 5,002
The default install has been the same since FC3 or before.
/boot 83 ext3
lvm 8e with / lv ext3 and swap lv

The swap f/s does not show in all commands.

# lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
LogVol14home VolGroup14 -wi-ao 99.44G
LogVol14slash VolGroup14 -wi-ao 10.00G
LogVol14swap VolGroup14 -wi-ao 2.00G
[root@Jovette-14 ~]# df -l
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup14-LogVol14slash
10321208 3496084 6300836 36% /
/dev/mapper/VolGroup14-LogVol14home
102630720 526156 96891176 1% /home
/dev/sda1 318902 34514 267923 12% /boot
tmpfs 507324 576 506748 1% /dev/shm
[root@Jovette-14 ~]# swapon -s
Filename Type Size Used Priority
/dev/mapper/VolGroup14-LogVol14swap partition 2097144 0 -1

SJ
__________________
Do the Math
Reply With Quote
Reply

Tags
logical, volumes

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Splitting Logical Volumes pklingem Using Fedora 1 29th May 2008 04:55 PM
Missing Logical Volumes ST-ISA Using Fedora 6 28th February 2007 10:11 AM
Resizing Logical Volumes? naz37 Using Fedora 7 20th February 2007 02:15 PM


Current GMT-time: 02:10 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat