LVM-Howto [Was : what are the restrictions on bootable partitions?]
by Ow Mun Heng
> -----Original Message-----
> From: neil [mailto:neilcuk@aol.com]
> Sent: Thursday, April 29, 2004 10:35 PM
> To: For users of Fedora Core releases
> Subject: Re: what are the restrictions on bootable partitions?
>
>
>
>
> rpjday(a)mindspring.com wrote:
>
> > what are the restrictions on where i can install another
> linux distro
> >onto my fedora core (actually, FC2-t3) system so that grub
> can find it?
> >(even though this is a test version of fedora, this question actually
> >refers to FC distros in general.)
> >
> >
> There are no restrictions other than the boot loader (grub)
> must be able
> to read the boot partition.
>
> > typically, for historical reasons, even when i use LVM, i
> create a small
> >primary, ext3 filesystem for /boot, and use LVM for the rest
> of the drive.
> >is there any compelling reason for doing this anymore? what's the
> >recommended strategy for LVM? and need for a non-LVM
> filesystem on newer
> >machines?
> >
> It really depends on what the system will be used for. Check out the
> howto here: http://www.tldp.org/HOWTO/LVM-HOWTO/index.html
I've actually looked through the howto but am still unable to determine
how to actually create a lvm system. I've recompiled my kernel to
have the devive mapper as a module and modprobe'ed it.
When I try to do vgscan it states that the kernel modules are not loaded.
Please help.
>
> >
> > and, on top of all this, i want to add at least one other
> distro to the
> >system; in this case, xandros 2.0, for evaluation for a
> client. can i add
> >this additional distro entirely within LVM and have grub
> still find it
> >properly? i suspect yes, but i wanted to make sure before i
> spent all
> >that installing. thanks.
> >
> >
> Grub will still need to run outside of an LVM area. Keeping
> your /boot
> partition in an acceptable format (such as ext3, as you have
> done in the
> past) is the ideal way to do this. Other than that - if your distro
> kernel supports LVM you should have no problems having the /
> partition
> on an LVM. However, I would avoid putting a new distro within an LVM
> portion of another distro - but that's just because I value
> my sanity.
> But if you got your grub configuration correct, I don't see why this
> can't be done - any one care to prove me wrong?
>
> >rday
> >
> >
> >
> >
> neil
>
>
>
> --
> fedora-list mailing list
> fedora-list(a)redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>
20 years
Can I do an "upgrade" to FC2 test3?
by Gene Heskett
Basicly I don't want to loose all my passwords and such in the mozilla
cache. Can this be done, and if so, how?
Otherwise, I have amanda backups, what do I recover after doing it
fresh?
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.22% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attornies please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.
20 years
midnight commander
by peter peter
I'm using midnight commander, it's very good file manager, but now
anybody about other file commander for gnome,
thanks Peto
20 years
Monitor Trouble
by Brane Lj
I installed Fedora Core 1 and as usual the setup
didn't detect my monitor properly even though it is in
the list (Hansol 500A). I choose the proper monitor
and continued the installation (this worked on
previous versions of RH).
After i installed the OS and booted it for the first
time somewhere right after starting x my monitor
turned itself off. I'm guessing the resolution set is
not supported by my monitor. I went and edited the
/etc/X11/XF86Config file - horizontal and vertical
frequencies and resolution but that didn't help.
Lastly I used the Redhat-config-x86free (forgot the
right name) with the --reconfigure switch and i
recieved this error:
xconf.py :Fatal IO error2 (connection reset by peer)
on x server :17.0
The graphics card was detected properly - Radeon7000
For the monitor i recieved some bogus values...
I even reinstalled the whole lot and used a standard
800x600 monitor but no luck with that either.
Does anyone know what else I could try beside buying a
new monitor :D
thanks
Conker
Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
20 years
Fedora and threading limit
by Guolin Cheng
Just got a problem on Fedora Core 1 box, I can only open 256 threads per
process. But on my former Redhat 8.0, I can open 1533 threads per
process. From post
http://www.redhat.com/archives/fedora-list/2003-December/msg04136.html
<http://www.redhat.com/archives/fedora-list/2003-December/msg04136.html>
, I still can not quite understand, Since I can only use 2GB stack
space. (256*8MB). Not 3GB.
The source of the thread-testing C file is from website
http://www.linuxquestions.org/questions/showthread.php?s=&threadid=17368
0.
Any other easy ways to change system-wide threading limit? At least from
Fedora Core 1's 256 to Redhat 8.0's 1533? Thanks A lot.
--Guolin Cheng
bash-2.05b$ ulimit -a
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 6143
virtual memory (kbytes, -v) unlimited
bash-2.05b$ /home/guolin/threadTest
Creating threads ...
Address of c = 1056775 KB
Address of c = 1064967 KB
Address of c = 1073159 KB
Address of c = 1081351 KB
Address of c = 1089543 KB
Address of c = 1097735 KB
Address of c = 1105927 KB
Address of c = 1114119 KB
Address of c = 1122311 KB
Address of c = 1130503 KB
Failed with return code 11 creating thread 256.
bash-2.05b$ ulimit -s 2048
bash-2.05b$ /home/guolin/threadTest
Creating threads ...
Address of c = 1050631 KB
Address of c = 1052679 KB
Address of c = 1054727 KB
Address of c = 1056775 KB
Address of c = 1058823 KB
Address of c = 1060871 KB
Address of c = 1062919 KB
Address of c = 1064967 KB
Address of c = 1067015 KB
Address of c = 1069063 KB
1000 threads so far ...
Failed with return code 11 creating thread 1023.
bash-2.05b$
20 years
Problem connecting to Router and the WEB with madwifi
by Matthew Paulosky
I have a Linksys WRT54G router and a Netgear WG311 pci card. This setup
works very well with XP Pro but I am having problems in my Fedora Core 1
kernel-2.4.22-1.2174.nptl system. I installed the
kernel-madwifi-0.0.20040107-1_2.4.22_1.2174.nptl.rhfc1.i686.rpm from the
WIKI site. When the interface is up I can ping the card but not the Router.
Also I am unable to access the Router through the web interface. I know
that it will work because I got it to work once but don't have a clue how
and don't know what I did to loose it. Can anyone point me in the right
direction to get this up and running?
hwconf has the following listing for the wifi card:
class: NETWORK
bus: PCI
detached: 0
device: eth0
driver: ath_pci
desc: "Unknown vendor|Generic ath_pci device"
vendorId: 168c
deviceId: 0013
subVendorId: 1385
subDeviceId: 4900
pciType: 1
pcibus: 0
pcidev: 8
pcifn: 0
My ifcfg-ath0 file reads:
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
ONBOOT=no
USERCTL=yes
PEERDNS=yes
GATEWAY=
TYPE=Wireless
DHCP_HOSTNAME=
IPADDR=
DEVICE=ath0
HWADDR=
BOOTPROTO=dhcp
DOMAIN=
NETMASK=
ESSID=home4
CHANNEL=6
MODE=Managed
RATE=Auto
After the command ifup ath0
[root@localhost root]# ifconfig gives the following:
ath0 Link encap:Ethernet HWaddr 00:09:5B:96:4F:B7
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:725262 errors:370102 dropped:0 overruns:0 frame:370091
TX packets:93 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:199
RX bytes:61577874 (58.7 Mb) TX bytes:6933 (6.7 Kb)
Interrupt:3 Memory:fad8f000-fad9f000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3050 errors:0 dropped:0 overruns:0 frame:0
TX packets:3050 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1615893 (1.5 Mb) TX bytes:1615893 (1.5 Mb)
[root@localhost root]# iwconfig gives this information:
lo no wireless extensions.
ath0 IEEE 802.11g ESSID:"home4" Nickname:"localhost.localdomain"
Mode:Managed Frequency:2.437GHz Access Point: 00:0C:41:BB:64:DD
Bit Rate=54Mb/s Tx-Power:off Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:xxx-xxxx-xx Security mode:open
Power Management:off
Link Quality:45/94 Signal level:-50 dBm Noise level:-95 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
20 years
RE: Use of software
by info
I guess I didn't explain myself clear.......
Is the use of this software for commercial purposes legal?
Example: using it to advertise a small business with web pages
email, domain,
20 years
RE: The easiest way to migrate to another (bigger) hard drive?
by Ow Mun Heng
> -----Original Message-----
> From: fedora-list-bounces(a)redhat.com
> [mailto:fedora-list-bounces@redhat.com]On Behalf Of WipeOut
> Sent: Friday, April 30, 2004 4:00 AM
> To: fedora-list(a)redhat.com
> Subject: The easiest way to migrate to another (bigger) hard drive?
>
>
> Hi,
>
> Been trying to work out the easiest way to move from one hard
> drive to
> another and be able to change the size of the partitions..
>
> I looked at dd but the disk geometry has to be the same so
> thats a problem..
You are right
>
> I tried ghost but it had issues..
I didn't go that path..
>
> Basically I have two 40GB drives with two RAID 1 partitions
> (md0 and md1)..
30GB -> 80GB notebook HD.
>
> md0 is / and md1 is an LVM PV with a number of LV's (/home /var /data
> and SWAP) on it..
>
> The only way I can think of to do it is to boot from one of
> the live CD
> type distros and have one of the old drives and one of the new drives
> connected and then partition the new drive, mount it and then
> copy the
> data from one to the other.. Then change over to the other old drive
> (the mirror) and the second new drive and do the same again..
>
> This seems very time consuming, laborious and prone to error..
Yes.. Time cosuming but if it's only 1 PC/drive. Bearable.
I used the systemrescuecd,booted off it, used partimage to save the
pastition to samba share. Changed the HD, partition it using qtparted
and then restored the partitions.
Restored the MBR and stuffs.
>
> Is there any other way to clone Linux drives that will also
> allow me to
> use drives with different geometry and hopfully be able to resize the
> LVM partition to make use of the space??
Mondo?? I wanted to try it.. but wasn't too successful (yet..)
20 years
Re: fedora-list Digest, Vol 2, Issue 326
by Roger Finks
> You mail is a wonderful example for "how to not mail to a mailing list".
> What is your contribution in the posted mail? I only see quotation. What
> is your point? Your subject contains just the name of the daily digest.
Alexander, I apologize, I certainly did not mean to respond that way. I
should stay off the computer that early in the morning.
I was trying to respond to the thread titled: Re: OpenOffice.org Calc
4-11 date bug?
I am running version 1.1.0 and all dates including "4/11" are converted
to dates correctly on my system
--
Roger Finks <rcflinux(a)earthlink.net>
20 years
RE: Qos/TrafficShaping(on Shorewall) Howto available for Web-viewing
by Ow Mun Heng
> -----Original Message-----
> From: Dov Zamir [mailto:Linux@zamirfamily.com]
> Sent: Thursday, April 29, 2004 6:55 PM
> To: For users of Fedora Core releases
> Subject: RE: Qos/TrafficShaping(on Shorewall) Howto available for
> Web-viewing
>
>
> On ?"', 2004-04-29 at 05:08, Ow Mun Heng wrote:
>
> >
> > I don't really think you can somehow Shape what your ISP sends you
> > unless you have access to the ISP's routers etc.
> >
> > If I am mistake, please educate me.
> >
> Actualy some comercial packetshaping appliances do just that.
> They shape
> incoming and not outgoing traffic. This makes more sense for
> most, since
> downloading is usually a bigger problem than uploading. It is done by
> dynamically changing the window size. Unfortunately, I have absalutely
> no idea how to do this.
Ah.. Yes.. IIRC, when I was re-reading and re-reading the ADSL
bandwidth limiting howto, the author did mention about shaping
downstream bandwidth using the TCP window size.
He also noted that there isn't any OSS software that's available
to do that. If anyone has any idea, i bet a lot of ppl would be
interested.
20 years