Why is load on my server stuck at 1
Hi, I'm curious to find out why the load on my server is stuck at 1.00, excerpt from top: top - 10:53:10 up 21 days, 46 min, 1 user, load average: 1.00, 1.00, 1.00 top - 10:54:20 up 21 days, 47 min, 1 user, load average: 1.06, 1.01, 1.00 Tasks: 197 total, 1 running, 196 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, 0.0%sy, 0.0%ni, 99.9%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 4046512k total, 3866008k used, 180504k free, 401180k buffers Swap: 6094840k total, 120936k used, 5973904k free, 3182948k cached PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 1 root 15 0 10344 568 540 S0 0.0 0:02.03 init [3] As you can see top isn't showing anything, how can I find out what is causing this? Thanks in advance Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: [OT] run command via ssh - problem
On Wed, Nov 4, 2009 at 2:29 PM, Bryn M. Reeves wrote: > On Wed, 2009-11-04 at 13:32 +0000, Dan Track wrote: >> Hi Bryn, >> >> Many thanks. I tried hostname -s but I keep getting the following: >> >> hostname: Host name lookup failure > > Possibly your resolver on the servers is not configured to search its > own local domain. Add a line like this to /etc/resolv.conf: > > search mylocaldomain.com > > Or, if you configure the resolver via dhcp add a directive on the server > to pass this over to clients. > >> This may be because the hostname's are short already e.g just >> "server1" instead of "server1.example.com" >> >> I've updated teh script to your recommendations but I still get the >> local hosts hostname in teh output instead of the remote servers >> hostname. Any other thoughts? >> >> I now run the following: >> >> for i in server1 server2;do ssh r...@$i "DNSNAME=$(basename >> $(hostname)$);echo $DNSNAME";done > > You need to use single quotes instead of double quotes - see the rules > in the bash man page about quote expansion. A single quoted string is > not subject to any expansion by the shell on the client machine but a > double quoted string will be expanded on the client before the ssh > command is executed. > > $ ssh abox 'DNSNAME=$(basename $(hostname));echo $DNSNAME' > abox.example.com > > I still don't think that basename will do what you want here... > > Regards, > Bryn. Great that single quote worked. It's nwo returning the correct result. Many thanks. The basename command works well. Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: [OT] run command via ssh - problem
On Wed, Nov 4, 2009 at 1:33 PM, Bryn M. Reeves wrote: > On Wed, 2009-11-04 at 13:13 +0000, Dan Track wrote: >> On Wed, Nov 4, 2009 at 1:10 PM, Dan Track wrote: >> > Hi, >> > >> > I'm running a command like this: >> > >> > for i in server1 server2;do ssh r...@$i "`hostname`";done. >> > >> > However the hostname command always outputs the hostname of the server >> > that the above command is run from. I'd like to know how to run this >> > hostname command so that it actually runs on server 1, server2 etc.. >> > >> > Thanks >> > Dan >> > >> >> Sorry just to add the actual script was like this: >> >> for i in server1 server2;do ssh r...@$i "DNSNAME=\"basename >> \`hostname\`\";echo $DNSNAME";done > > Not sure why you're setting a variable here but to have "basename" run > as a command and assign the output to DNSNAME you need to have basename > inside a pair of backticks too. > > You'll then hit another problem because you want to have nested > backticks (one pair for basename and another for hostname). Bash > supports '$()' as an alternative to backticks that does allow nesting - > writing $(hostname) is equivalent to `hostname` and allows you to write > $(basename $(hostname)). > > I'm not sure basename is going to do what you want here though - are you > looking for the short host name or the domain name? The basename command > separates components of a path based on the '/' (or whatever the system > defined path separator is). E.g.: > > $ DNS=$(basename $(hostname)) > $ echo $DNS > breeves.fab.redhat.com > > If you just want the short hostname you can pass -s to hostname: > > $ ssh pe1950-1.gsslab hostname -s > pe1950-1 > > Or the domain with -d: > > $ ssh pe1950-1.gsslab hostname -d > gsslab.fab.redhat.com > > Have a look at the man page for hostname for more options. > > Regards, > Bryn. Hi Bryn, Many thanks. I tried hostname -s but I keep getting the following: hostname: Host name lookup failure This may be because the hostname's are short already e.g just "server1" instead of "server1.example.com" I've updated teh script to your recommendations but I still get the local hosts hostname in teh output instead of the remote servers hostname. Any other thoughts? I now run the following: for i in server1 server2;do ssh r...@$i "DNSNAME=$(basename $(hostname)$);echo $DNSNAME";done Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: [OT] run command via ssh - problem
On Wed, Nov 4, 2009 at 1:14 PM, Joachim Backes wrote: > On 11/04/2009 02:10 PM, Dan Track wrote: >> >> Hi, >> >> I'm running a command like this: >> >> for i in server1 server2;do ssh r...@$i "`hostname`";done. >> >> However the hostname command always outputs the hostname of the server >> that the above command is run from. I'd like to know how to run this >> hostname command so that it actually runs on server 1, server2 etc.. >> >> Thanks >> Dan >> > > Use the following > for i in server1 server2;do ssh r...@$i '`hostname`';done. > > > Explanation: `hostname`, or $(hostname), is already evaluated on the source > host by your shell (even inside of "...") , not on the target host. > -- > > Joachim Backes > > http://www.rhrk.uni-kl.de/~backes > Hi, Thanks for that, any thoughts on how it fits in with my script: for i in server1 server2;do ssh r...@$i "DNSNAME=\"basename\`hostname\`\";echo $DNSNAME";done Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: [OT] run command via ssh - problem
On Wed, Nov 4, 2009 at 1:10 PM, Dan Track wrote: > Hi, > > I'm running a command like this: > > for i in server1 server2;do ssh r...@$i "`hostname`";done. > > However the hostname command always outputs the hostname of the server > that the above command is run from. I'd like to know how to run this > hostname command so that it actually runs on server 1, server2 etc.. > > Thanks > Dan > Sorry just to add the actual script was like this: for i in server1 server2;do ssh r...@$i "DNSNAME=\"basename \`hostname\`\";echo $DNSNAME";done Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[OT] run command via ssh - problem
Hi, I'm running a command like this: for i in server1 server2;do ssh r...@$i "`hostname`";done. However the hostname command always outputs the hostname of the server that the above command is run from. I'd like to know how to run this hostname command so that it actually runs on server 1, server2 etc.. Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: : bash command help - nohup
On Fri, Oct 30, 2009 at 9:56 AM, Cameron Simpson wrote: > On 30Oct2009 09:42, Dan Track wrote: > | Hi, > | > | I'm trying to run mutliple commands from the command line while using > | nohup. But I can't seem to get the syntax right, can someone please > | correct this for me > | > | nohup cmd 1;cm2;cmd3 > | > | All i get is that cmd1 runs from wiht nohup but the rest run in my > | current shell. I'd like all to be run with the single nohup command, > | any thoughts? > > Syntacticly that's three command. A semicolon is like a newline, so its > as though you've typed: > > nohup cmd 1 > cmd2 > cmd3 > > Since nohup expects one command, you need one command. SInce you want > three, invoke the shell as your command: > > nohup sh -c 'cmd1; cmd2; cmd3' > > Cheers, Hi Cameron, Many thanks for that gem. Cheers -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[OT]: bash command help - nohup
Hi, I'm trying to run mutliple commands from the command line while using nohup. But I can't seem to get the syntax right, can someone please correct this for me nohup cmd 1;cm2;cmd3 All i get is that cmd1 runs from wiht nohup but the rest run in my current shell. I'd like all to be run with the single nohup command, any thoughts? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: How to find out the parameters of an ext3 filesystem
On Wed, Oct 14, 2009 at 4:35 PM, Bryn M. Reeves wrote: > On Wed, 2009-10-14 at 23:18 +0800, Ed Greshko wrote: >> Dan Track wrote: >> > Great thanks. Can I ask one more question. I'm trying to put all the >> > information in the following website: >> > http://busybox.net/~aldot/mkfs_stride.html >> > >> > and it is asking me for the following: "number of filesystem blocks (in >> > KiB)" >> > >> How does this question relate to Fedora? >> >> Isn't this something related to busybox that maybe you should be asking >> about to that community? > > It's nothing to do with busybox (despite the hostname). If anything a > better place for the question would be the ext3-users[1] or > linux-raid[2] mailing lists (as it's a question about optimising ext3 > for use on Linux software RAID devices). > > A bit of searching around will probably find a few related discussions > in the past also. > > Regards, > Bryn. Hi, On another note I see that stripe-width option in mkfs.ext3 is missing. Any reasons why that may be the case? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: How to find driver usage.
On Wed, Oct 14, 2009 at 4:26 PM, Bryn M. Reeves wrote: > On Wed, 2009-10-14 at 15:52 +0100, Dan Track wrote: >> I've got two disks /dev/sda and /dev/sdb. I'd like to reload the >> driver that they are using. How can I find out what driver is being >> used by them? > > The sysfs file system (normally mounted at /sys) is your friend, e.g: > > $ ls -l /sys/block/sda/device/driver > lrwxrwxrwx 1 root root 0 2009-10-14 16:16 /sys/block/sda/device/driver > -> ../../../../../../bus/scsi/drivers/sd > > But this just tells us that it's being driven by the SCSI disk driver > (sd) which is kinda obvious. > > A lot more information is hidden away here however - you can use tools > like udevinfo or systool to trawl the file system and output the > information in a more readable format. > > To get all attributes for sda: > > $ udevinfo -ap /block/sda > > http://pastebin.com/m1fb2047d > > To get device attributes for all scsi disks on the system: > > $ systool -c scsi_disk -v > > http://pastebin.com/m263ebacc > > Regards, > Bryn. > Hi Bryn, Many thanks for this. Lot's to learn. Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: How to find out the parameters of an ext3 filesystem
On Wed, Oct 14, 2009 at 4:18 PM, Ed Greshko wrote: > Dan Track wrote: >> On Wed, Oct 14, 2009 at 3:56 PM, Chris Adams wrote: >> >>> Once upon a time, Dan Track said: >>> >>>> I'd like to know the parameters of an ext3 filesystem i.e what >>>> blocksize was used, inodes etc... Can someone please show me a command >>>> I can use to find this information. >>>> >>> As root, "tune2fs -l ", where "" is the block device >>> that contains the filesystem (e.g. /dev/sda2, /dev/vg0/lv0, etc.). >>> -- >>> Chris Adams >>> Systems and Network Administrator - HiWAAY Internet Services >>> I don't speak for anybody but myself - that's enough trouble. >>> >>> >> >> Great thanks. Can I ask one more question. I'm trying to put all the >> information in the following website: >> http://busybox.net/~aldot/mkfs_stride.html >> >> and it is asking me for the following: "number of filesystem blocks (in KiB)" >> > How does this question relate to Fedora? > > Isn't this something related to busybox that maybe you should be asking > about to that community? >> What value should I put given the output from tune2fs below: >> >> tune2fs -l /dev/VolGrp00/LogVol01 >> tune2fs 1.39 (29-May-2006) >> Filesystem volume name: >> Last mounted on: >> Filesystem UUID: ec03dcbc-2829-4a22-a43f-52dbf1bb5af8 >> Filesystem magic number: 0xEF53 >> Filesystem revision #: 1 (dynamic) >> Filesystem features: has_journal resize_inode dir_index filetype >> needs_recovery sparse_super large_file >> Default mount options: (none) >> Filesystem state: clean >> Errors behavior: Continue >> Filesystem OS type: Linux >> Inode count: 1220935680 >> Block count: 2441864192 >> Reserved block count: 122093209 >> Free blocks: 2403359240 >> Free inodes: 1220931839 >> First block: 0 >> Block size: 4096 >> Fragment size: 4096 >> Reserved GDT blocks: 441 >> Blocks per group: 32768 >> Fragments per group: 32768 >> Inodes per group: 16384 >> Inode blocks per group: 512 >> Filesystem created: Tue Oct 13 18:51:33 2009 >> Last mount time: Wed Oct 14 15:32:47 2009 >> Last write time: Wed Oct 14 15:32:47 2009 >> Mount count: 5 >> Maximum mount count: 29 >> Last checked: Tue Oct 13 18:51:33 2009 >> Check interval: 15552000 (6 months) >> Next check after: Sun Apr 11 18:51:33 2010 >> Reserved blocks uid: 0 (user root) >> Reserved blocks gid: 0 (group root) >> First inode: 11 >> Inode size: 128 >> Journal inode: 8 >> Default directory hash: tea >> Directory Hash Seed: 72b9b9fe-57dd-433a-815c-de332420a0c5 >> Journal backup: inode blocks >> >> Thanks >> Dan >> Fair point. I thought they might be universal terms that guys here might know what they correlate to in the tune2fs output. I'll keep quiet on this as it seems to be a sensitive point. Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: How to find out the parameters of an ext3 filesystem
On Wed, Oct 14, 2009 at 3:56 PM, Chris Adams wrote: > Once upon a time, Dan Track said: >> I'd like to know the parameters of an ext3 filesystem i.e what >> blocksize was used, inodes etc... Can someone please show me a command >> I can use to find this information. > > As root, "tune2fs -l ", where "" is the block device > that contains the filesystem (e.g. /dev/sda2, /dev/vg0/lv0, etc.). > -- > Chris Adams > Systems and Network Administrator - HiWAAY Internet Services > I don't speak for anybody but myself - that's enough trouble. > Great thanks. Can I ask one more question. I'm trying to put all the information in the following website: http://busybox.net/~aldot/mkfs_stride.html and it is asking me for the following: "number of filesystem blocks (in KiB)" What value should I put given the output from tune2fs below: tune2fs -l /dev/VolGrp00/LogVol01 tune2fs 1.39 (29-May-2006) Filesystem volume name: Last mounted on: Filesystem UUID: ec03dcbc-2829-4a22-a43f-52dbf1bb5af8 Filesystem magic number: 0xEF53 Filesystem revision #:1 (dynamic) Filesystem features: has_journal resize_inode dir_index filetype needs_recovery sparse_super large_file Default mount options:(none) Filesystem state: clean Errors behavior: Continue Filesystem OS type: Linux Inode count: 1220935680 Block count: 2441864192 Reserved block count: 122093209 Free blocks: 2403359240 Free inodes: 1220931839 First block: 0 Block size: 4096 Fragment size:4096 Reserved GDT blocks: 441 Blocks per group: 32768 Fragments per group: 32768 Inodes per group: 16384 Inode blocks per group: 512 Filesystem created: Tue Oct 13 18:51:33 2009 Last mount time: Wed Oct 14 15:32:47 2009 Last write time: Wed Oct 14 15:32:47 2009 Mount count: 5 Maximum mount count: 29 Last checked: Tue Oct 13 18:51:33 2009 Check interval: 15552000 (6 months) Next check after: Sun Apr 11 18:51:33 2010 Reserved blocks uid: 0 (user root) Reserved blocks gid: 0 (group root) First inode: 11 Inode size: 128 Journal inode:8 Default directory hash: tea Directory Hash Seed: 72b9b9fe-57dd-433a-815c-de332420a0c5 Journal backup: inode blocks Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
How to find driver usage.
Hi, I've got two disks /dev/sda and /dev/sdb. I'd like to reload the driver that they are using. How can I find out what driver is being used by them? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
How to find out the parameters of an ext3 filesystem
Hi, I'd like to know the parameters of an ext3 filesystem i.e what blocksize was used, inodes etc... Can someone please show me a command I can use to find this information. Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
How to mount cdrom?
Hi, I've just used HP's virtual media to mount a cdrom and see the following in /var/log/messages: Oct 14 12:03:39 new-onetick kernel: usb 6-2: new full speed USB device using uhci_hcd and address 3 Oct 14 12:03:39 new-onetick kernel: usb 6-2: configuration #1 chosen from 1 choice Oct 14 12:03:39 new-onetick kernel: hub 6-2:1.0: USB hub found Oct 14 12:03:39 new-onetick kernel: hub 6-2:1.0: 7 ports detected Oct 14 12:03:40 new-onetick kernel: usb 6-2.2: new full speed USB device using uhci_hcd and address 4 Oct 14 12:03:40 new-onetick kernel: usb 6-2.2: configuration #1 chosen from 1 choice Oct 14 12:03:40 new-onetick kernel: scsi2 : SCSI emulation for USB Mass Storage devices Oct 14 12:03:45 new-onetick kernel: Vendor: HPModel: Virtual DVD-ROM Rev: 0.0 Oct 14 12:03:45 new-onetick kernel: Type: CD-ROM ANSI SCSI revision: 00 Oct 14 12:03:45 new-onetick kernel: scsi 2:0:0:0: Attached scsi generic sg4 type 5 Oct 14 12:03:45 new-onetick kernel: sr0: scsi3-mmc drive: 12x/12x cd/rw tray Can someone please tell me how I can mount this? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Testing Device Failure
On Wed, Oct 14, 2009 at 10:20 AM, Bryn M. Reeves wrote: > On Tue, 2009-10-13 at 22:12 +0100, Dan Track wrote: >> On Tue, Oct 13, 2009 at 5:22 PM, Dan Track wrote: >> > Hi, >> > >> > I've got two SAS links to my San, I want to test failure/recovery by >> > eleminating and device node. The easiest way is to manually unplug a >> > controller link and see what happens. I'd like to know how I can do it >> > via Linux, and then re-enable the device node? I have two device nodes >> > /dev/sda and /dev/sdb. >> > >> > Thanks >> > Dan >> > >> >> Hi >> >> Does anyone have any thoughts on this. >> >> Thanks >> Dan >> > > If you're using device-mapper to combine the two paths into a single > multipath device you should see a change in the output of the multipath > -l/-ll commands when you unplug the cable (and if the unplugged path was > the path that was previously carrying I/O there'll also be a change of > path groups and I/O should begin flowing over the second path). > > As long as you have multipathd running the failed path should be > re-added to the multipath map when it returns and depending on the > failback settings in use will trigger another path group switch. > > Regards, > Bryn. > > Thanks for that Bryn. I'll do just that. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Testing Device Failure
On Tue, Oct 13, 2009 at 5:22 PM, Dan Track wrote: > Hi, > > I've got two SAS links to my San, I want to test failure/recovery by > eleminating and device node. The easiest way is to manually unplug a > controller link and see what happens. I'd like to know how I can do it > via Linux, and then re-enable the device node? I have two device nodes > /dev/sda and /dev/sdb. > > Thanks > Dan > Hi Does anyone have any thoughts on this. Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Multipath command output - Help with understanding output
On Tue, Oct 13, 2009 at 7:01 PM, Dan Track wrote: > On Tue, Oct 13, 2009 at 6:45 PM, Bryn M. Reeves wrote: >> On Tue, 2009-10-13 at 18:23 +0100, Dan Track wrote: >>> I've already got the following /dev/mapper/mpath0 and >>> /dev/mpath/3600c0ff000d7ba4f4575b24a0100. Can you tell me how I >>> can reload the config and end up with /dev/mapper/san1? >> >> That's a little bit strange; normally you'd expect the /dev/mpath >> entries to follow the same naming as is used in /dev/mapper. >> >> That said, the symlinks in /dev/mpath are nothing but trouble and it is >> strongly advised that you don't use them for anything. The main problem >> is that they can at times get out-of-sync with the device-mapper status. >> This can lead to a range of problems such as failed booting (since the >> correct device names don't exist at the point they should in the boot >> process) to data corruption when a stale symlink ends up pointing to the >> wrong multipath device. >> >> This happens because the device nodes in /dev/mapper are managed by >> libdevmapper and so are updated in-sync with the state of the devices in >> the kernel but the symlinks are managed in userspace by udev and so >> there can be delays between the device-mapper's state changing and the >> corresponding symlinks getting updated. >> >>> Also when running pvcreate should I run >>> >>> pvcreate /dev/mapper/mpath0 >> >> Always prefer the names in /dev/mapper when working with multipath >> devices. >> >> Regards, >> Bryn. >> > Many many thanks Bryn. I owe you one. > > Thanks > Dan > Bryn, Is there any chance you could help with the my other mail I sent titled: "Testing Device Failure". I basically want to test this setup. Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Multipath command output - Help with understanding output
On Tue, Oct 13, 2009 at 6:45 PM, Bryn M. Reeves wrote: > On Tue, 2009-10-13 at 18:23 +0100, Dan Track wrote: >> I've already got the following /dev/mapper/mpath0 and >> /dev/mpath/3600c0ff000d7ba4f4575b24a0100. Can you tell me how I >> can reload the config and end up with /dev/mapper/san1? > > That's a little bit strange; normally you'd expect the /dev/mpath > entries to follow the same naming as is used in /dev/mapper. > > That said, the symlinks in /dev/mpath are nothing but trouble and it is > strongly advised that you don't use them for anything. The main problem > is that they can at times get out-of-sync with the device-mapper status. > This can lead to a range of problems such as failed booting (since the > correct device names don't exist at the point they should in the boot > process) to data corruption when a stale symlink ends up pointing to the > wrong multipath device. > > This happens because the device nodes in /dev/mapper are managed by > libdevmapper and so are updated in-sync with the state of the devices in > the kernel but the symlinks are managed in userspace by udev and so > there can be delays between the device-mapper's state changing and the > corresponding symlinks getting updated. > >> Also when running pvcreate should I run >> >> pvcreate /dev/mapper/mpath0 > > Always prefer the names in /dev/mapper when working with multipath > devices. > > Regards, > Bryn. > Many many thanks Bryn. I owe you one. Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Multipath command output - Help with understanding output
On Tue, Oct 13, 2009 at 5:48 PM, Phil Meyer wrote: > On 10/13/2009 10:17 AM, Dan Track wrote: >> >> Hi, >> >> I've configured multipath but I'm confused with the following. When I >> run "multipath -v2" I don't get any output, but if I run "multipath >> -v3" I get lot's of output e.g.: >> >> cciss!c0d0: not found in pathvec >> cciss!c0d0: mask = 0x1f >> dm-0: blacklisted >> hda: blacklisted >> loop0: blacklisted >> loop1: blacklisted >> loop2: blacklisted >> loop3: blacklisted >> loop4: blacklisted >> loop5: blacklisted >> loop6: blacklisted >> loop7: blacklisted >> md0: blacklisted >> ram0: blacklisted >> ram10: blacklisted >> ram11: blacklisted >> ram12: blacklisted >> ram13: blacklisted >> ram14: blacklisted >> ram15: blacklisted >> ram1: blacklisted >> ram2: blacklisted >> ram3: blacklisted >> ram4: blacklisted >> ram5: blacklisted >> ram6: blacklisted >> ram7: blacklisted >> ram8: blacklisted >> ram9: blacklisted >> sda: not found in pathvec >> sda: mask = 0x1f >> sda: bus = 1 >> sda: dev_t = 8:0 >> sda: size = 19534921728 >> sda: vendor = HP >> sda: product = MSA2012sa >> sda: rev = J300 >> sda: h:b:t:l = 0:0:0:1 >> sda: serial = 00c0ffd7ba4f4575b24a0100 >> sda: path checker = tur (controller setting) >> sda: state = 2 >> sda: getprio = /sbin/mpath_prio_alua %d (controller setting) >> sda: prio = 50 >> sda: getuid = /sbin/hp_scsi_id -g -u -n -s /block/%n (controller setting) >> sda: uid = 3600c0ff000d7ba4f4575b24a0100 (callout) >> sdb: not found in pathvec >> sdb: mask = 0x1f >> sdb: bus = 1 >> sdb: dev_t = 8:16 >> sdb: size = 19534921728 >> sdb: vendor = HP >> sdb: product = MSA2012sa >> sdb: rev = J300 >> sdb: h:b:t:l = 1:0:0:2 >> sdb: serial = 00c0ffd7ba4f4575b24a0100 >> sdb: path checker = tur (controller setting) >> sdb: state = 2 >> sdb: getprio = /sbin/mpath_prio_alua %d (controller setting) >> sdb: prio = 10 >> sdb: getuid = /sbin/hp_scsi_id -g -u -n -s /block/%n (controller setting) >> sdb: uid = 3600c0ff000d7ba4f4575b24a0100 (callout) >> = paths list = >> uuid hcil dev dev_t pri dm_st chk_st >> vend/pr >> 3600c0ff000d7ba4f4575b24a0100 0:0:0:1 sda 8:0 50 [undef][ready] >> HP,MSA2 >> 3600c0ff000d7ba4f4575b24a0100 1:0:0:2 sdb 8:16 10 [undef][ready] >> HP,MSA2 >> params = 1 queue_if_no_path 0 2 1 round-robin 0 1 1 8:0 100 >> round-robin 0 1 1 8:16 100 >> status = 2 0 0 0 2 1 A 0 1 0 8:0 A 0 E 0 1 0 8:16 A 0 >> Found matching wwid [3600c0ff000d7ba4f4575b24a0100] in bindings file. >> Setting alias to mpath0 >> sda: ownership set to mpath0 >> sda: not found in pathvec >> sda: mask = 0xc >> sda: state = 2 >> sda: prio = 50 >> sdb: ownership set to mpath0 >> sdb: not found in pathvec >> sdb: mask = 0xc >> sdb: state = 2 >> sdb: prio = 10 >> mpath0: pgfailback = -2 (controller setting) >> mpath0: pgpolicy = group_by_prio (controller setting) >> mpath0: selector = round-robin 0 (controller setting) >> mpath0: features = 0 (internal default) >> mpath0: hwhandler = 0 (controller setting) >> mpath0: rr_weight = 1 (internal default) >> mpath0: minio = 100 (controller setting) >> mpath0: no_path_retry = 18 (controller setting) >> pg_timeout = NONE (internal default) >> mpath0: set ACT_NOTHING (map unchanged) >> >> multipath -ll >> mpath0 (3600c0ff000d7ba4f4575b24a0100) dm-0 HP,MSA2012sa >> [size=9.1T][features=1 queue_if_no_path][hwhandler=0][rw] >> \_ round-robin 0 [prio=50][active] >> \_ 0:0:0:1 sda 8:0 [active][ready] >> \_ round-robin 0 [prio=10][enabled] >> \_ 1:0:0:2 sdb 8:16 [active][ready] >> >> Does that mean multipath is working on /dev/sda and /dev/sdb? Is the >> lack of output for "multipath -v2" a concern? >> >> Thanks >> Dan >> >> > > Yes, multipath -l may not show anything. multipath -v3 should always show > similar to the output above, and what you see is that it found two paths to > the same device, which is good. It is also going to round robin reads and > writes, which is also good. > > You may want to customize things a bit to make it easier to remember, or in > case you add another unit or device. > > I would suggest adding at least these to /etc/multipath.conf: > > multipaths { > multipath { > uuid
Testing Device Failure
Hi, I've got two SAS links to my San, I want to test failure/recovery by eleminating and device node. The easiest way is to manually unplug a controller link and see what happens. I'd like to know how I can do it via Linux, and then re-enable the device node? I have two device nodes /dev/sda and /dev/sdb. Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Multipath command output - Help with understanding output
Hi, I've configured multipath but I'm confused with the following. When I run "multipath -v2" I don't get any output, but if I run "multipath -v3" I get lot's of output e.g.: cciss!c0d0: not found in pathvec cciss!c0d0: mask = 0x1f dm-0: blacklisted hda: blacklisted loop0: blacklisted loop1: blacklisted loop2: blacklisted loop3: blacklisted loop4: blacklisted loop5: blacklisted loop6: blacklisted loop7: blacklisted md0: blacklisted ram0: blacklisted ram10: blacklisted ram11: blacklisted ram12: blacklisted ram13: blacklisted ram14: blacklisted ram15: blacklisted ram1: blacklisted ram2: blacklisted ram3: blacklisted ram4: blacklisted ram5: blacklisted ram6: blacklisted ram7: blacklisted ram8: blacklisted ram9: blacklisted sda: not found in pathvec sda: mask = 0x1f sda: bus = 1 sda: dev_t = 8:0 sda: size = 19534921728 sda: vendor = HP sda: product = MSA2012sa sda: rev = J300 sda: h:b:t:l = 0:0:0:1 sda: serial = 00c0ffd7ba4f4575b24a0100 sda: path checker = tur (controller setting) sda: state = 2 sda: getprio = /sbin/mpath_prio_alua %d (controller setting) sda: prio = 50 sda: getuid = /sbin/hp_scsi_id -g -u -n -s /block/%n (controller setting) sda: uid = 3600c0ff000d7ba4f4575b24a0100 (callout) sdb: not found in pathvec sdb: mask = 0x1f sdb: bus = 1 sdb: dev_t = 8:16 sdb: size = 19534921728 sdb: vendor = HP sdb: product = MSA2012sa sdb: rev = J300 sdb: h:b:t:l = 1:0:0:2 sdb: serial = 00c0ffd7ba4f4575b24a0100 sdb: path checker = tur (controller setting) sdb: state = 2 sdb: getprio = /sbin/mpath_prio_alua %d (controller setting) sdb: prio = 10 sdb: getuid = /sbin/hp_scsi_id -g -u -n -s /block/%n (controller setting) sdb: uid = 3600c0ff000d7ba4f4575b24a0100 (callout) = paths list = uuid hcildev dev_t pri dm_st chk_st vend/pr 3600c0ff000d7ba4f4575b24a0100 0:0:0:1 sda 8:0 50 [undef][ready] HP,MSA2 3600c0ff000d7ba4f4575b24a0100 1:0:0:2 sdb 8:16 10 [undef][ready] HP,MSA2 params = 1 queue_if_no_path 0 2 1 round-robin 0 1 1 8:0 100 round-robin 0 1 1 8:16 100 status = 2 0 0 0 2 1 A 0 1 0 8:0 A 0 E 0 1 0 8:16 A 0 Found matching wwid [3600c0ff000d7ba4f4575b24a0100] in bindings file. Setting alias to mpath0 sda: ownership set to mpath0 sda: not found in pathvec sda: mask = 0xc sda: state = 2 sda: prio = 50 sdb: ownership set to mpath0 sdb: not found in pathvec sdb: mask = 0xc sdb: state = 2 sdb: prio = 10 mpath0: pgfailback = -2 (controller setting) mpath0: pgpolicy = group_by_prio (controller setting) mpath0: selector = round-robin 0 (controller setting) mpath0: features = 0 (internal default) mpath0: hwhandler = 0 (controller setting) mpath0: rr_weight = 1 (internal default) mpath0: minio = 100 (controller setting) mpath0: no_path_retry = 18 (controller setting) pg_timeout = NONE (internal default) mpath0: set ACT_NOTHING (map unchanged) multipath -ll mpath0 (3600c0ff000d7ba4f4575b24a0100) dm-0 HP,MSA2012sa [size=9.1T][features=1 queue_if_no_path][hwhandler=0][rw] \_ round-robin 0 [prio=50][active] \_ 0:0:0:1 sda 8:0 [active][ready] \_ round-robin 0 [prio=10][enabled] \_ 1:0:0:2 sdb 8:16 [active][ready] Does that mean multipath is working on /dev/sda and /dev/sdb? Is the lack of output for "multipath -v2" a concern? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
GPT Partition Deletion - HELP
Hi, How can I delete a GPT partition upon installation. Basically everytime I install the OS I keep getting the following: Filesystem type unknowm, partition type 0xee kernel /vmlinuz.2.6.18-128.el5 ro root=LABEL=/ error 17: Cannot mount selected partition Press any key to continue Any ideas on this please, as I think it is related to GPT. Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Advice on what dmsetup/fdisk/lvm does!
Hi, I'm trying to create a multipath environment for my server attached to a hp 2012sa msa disk storage device. Where I am struggling is understanding some low level concepts. I've setup the multipath config file, and can see the following enteries: multipath -ll mpath0 (3600c0ff000d7ba4f4575b24a0100) dm-5 HP,MSA2012sa [size=9.1T][features=1 queue_if_no_path][hwhandler=0][rw] \_ round-robin 0 [prio=50][active] \_ 0:0:0:1 sda 8:0 [active][ready] \_ round-robin 0 [prio=10][enabled] \_ 1:0:0:2 sdb 8:16 [active][ready] cat /proc/partitions shows: 8 0 9767460864 sda 816 9767460864 sdb 104 0 71652960 cciss/c0d0 104 1 104391 cciss/c0d0p1 104 2 71545477 cciss/c0d0p2 253 05111808 dm-0 253 15111808 dm-1 253 21015808 dm-2 253 35111808 dm-3 253 46127616 dm-4 253 5 9767460864 dm-5 sda and sdb are the same, as there is only one disk but two separate paths to it, so it shows up twice under different device mappings. My question now is after restarting mutlipathd, what is the next step? Do I need to use dmsetup, searching the web I still can't understand why I need it. I'm looking to create a logical volume on this disk. Once multipath is working should I only see one entry in /proc/partitions, instead of /dev/sda and /dev/sdb? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: How to find out drive path - Help
On Tue, Oct 6, 2009 at 4:40 PM, Phil Meyer wrote: > On 10/05/2009 09:58 AM, Dan Track wrote: >> >> Hi, >> >> I've just added a new hp array to my server and when looking in dmesg >> I can see the following: >> >> scsi0 : ioc0: LSISAS1068E B3, FwRev=01192100h, Ports=1, MaxQ=343, IRQ=185 >> Vendor: HP Model: MSA2012sa Rev: J300 >> Type: Enclosure ANSI SCSI revision: 05 >> ACPI: PCI Interrupt :17:00.0[A] -> GSI 19 (level, low) -> IRQ 98 >> mptbase: ioc1: Initiating bringup >> ioc1: LSISAS1068E B3: Capabilities={Initiator} >> PCI: Setting latency timer of device :17:00.0 to 64 >> scsi1 : ioc1: LSISAS1068E B3, FwRev=01192100h, Ports=1, MaxQ=343, IRQ=98 >> Vendor: HP Model: MSA2012sa Rev: J300 >> Type: Enclosure ANSI SCSI revision: 05 >> HP CISS Driver (v 3.6.20-RH2) >> ACPI: PCI Interrupt :06:00.0[A] -> GSI 18 (level, low) -> IRQ 185 >> cciss0:<0x3230> at PCI :06:00.0 IRQ 130 using DAC >> blocks= 143305920 block_size= 512 >> heads= 255, sectors= 32, cylinders= 17562 >> >> blocks= 143305920 block_size= 512 >> heads= 255, sectors= 32, cylinders= 17562 >> >> cciss/c0d0: p1 p2 >> libata version 3.00 loaded. >> Initializing USB Mass Storage driver... >> >> >> mount >> /dev/mapper/VolGroup00-LogVolRoot on / type ext3 (rw) >> proc on /proc type proc (rw) >> sysfs on /sys type sysfs (rw) >> devpts on /dev/pts type devpts (rw,gid=5,mode=620) >> /dev/mapper/VolGroup00-LogVolVar on /var type ext3 (rw) >> /dev/mapper/VolGroup00-LogVolTmp on /tmp type ext3 (rw) >> /dev/mapper/VolGroup00-LogVolUsr on /usr type ext3 (rw) >> /dev/cciss/c0d0p1 on /boot type ext3 (rw) >> tmpfs on /dev/shm type tmpfs (rw) >> none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) >> sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) >> >> >> My question is how can I tell where the partition on the array is >> mapped to on my server? >> >> Thanks in advance. >> Dan >> >> > > > When you get things right, you should be able to: > > $ cat /proc/partitions > > and see the new device there. > > Most arrays will be seen as soon as configured, no reboot needed. > Hi Phil, Many thanks for that pointer. I checked it after mapping the volume to the LUN but it still didn't pop up after watching /proc/partitions for a minute, how long does it take to pop up in there, is there a daemon that is monitoring new additions/changes and then makes the changes? FYI After reboot I can see the array. Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: How to find out drive path - Help
On Tue, Oct 6, 2009 at 2:45 PM, Tait Clarridge wrote: >> > >> > Thanks, >> > >> > Only problem is I haven't done anything to the partitions on the array >> > yet. The mount paths are the partition setups I have done for the >> > local disks on the server. I need to know how to reach the partition >> > on the array. Incidentally the array is still building the volume but >> > it does say that since it is doing it online the partition is >> > available but I can't see on bootup. Any thoughts? >> > >> > Thanks >> > Dan >> > >> >> Hi Anyone have any thoughts on this? >> >> Thanks >> Dan >> > > How are you connecting the array to the server? I have no experience > with HP products. It is showing scsi0 and scsi1 when you connect it. > > Can you run: fdisk -l > > and post it here? > > Tait Hi All, I just found out the issue that I hadn't mapped the volume to the host LUn. I've done that now! The disk array is connected to the dl380 g6, is there a way for the OS to pick up the new volume while booted up? I know you can't run kudzu now so how is it going to become aware of the change? Do i have to reboot? Thanks for your help Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: How to find out drive path - Help
On Mon, Oct 5, 2009 at 5:19 PM, Dan Track wrote: > On Mon, Oct 5, 2009 at 5:13 PM, Tait Clarridge wrote: >> On Mon, 2009-10-05 at 16:58 +0100, Dan Track wrote: >>> Hi, >>> >>> I've just added a new hp array to my server and when looking in dmesg >>> I can see the following: >>> >>> scsi0 : ioc0: LSISAS1068E B3, FwRev=01192100h, Ports=1, MaxQ=343, IRQ=185 >>> Vendor: HP Model: MSA2012sa Rev: J300 >>> Type: Enclosure ANSI SCSI revision: 05 >>> ACPI: PCI Interrupt :17:00.0[A] -> GSI 19 (level, low) -> IRQ 98 >>> mptbase: ioc1: Initiating bringup >>> ioc1: LSISAS1068E B3: Capabilities={Initiator} >>> PCI: Setting latency timer of device :17:00.0 to 64 >>> scsi1 : ioc1: LSISAS1068E B3, FwRev=01192100h, Ports=1, MaxQ=343, IRQ=98 >>> Vendor: HP Model: MSA2012sa Rev: J300 >>> Type: Enclosure ANSI SCSI revision: 05 >>> HP CISS Driver (v 3.6.20-RH2) >>> ACPI: PCI Interrupt :06:00.0[A] -> GSI 18 (level, low) -> IRQ 185 >>> cciss0: <0x3230> at PCI :06:00.0 IRQ 130 using DAC >>> blocks= 143305920 block_size= 512 >>> heads= 255, sectors= 32, cylinders= 17562 >>> >>> blocks= 143305920 block_size= 512 >>> heads= 255, sectors= 32, cylinders= 17562 >>> >>> cciss/c0d0: p1 p2 >>> libata version 3.00 loaded. >>> Initializing USB Mass Storage driver... >>> >>> >>> mount >>> /dev/mapper/VolGroup00-LogVolRoot on / type ext3 (rw) >>> proc on /proc type proc (rw) >>> sysfs on /sys type sysfs (rw) >>> devpts on /dev/pts type devpts (rw,gid=5,mode=620) >>> /dev/mapper/VolGroup00-LogVolVar on /var type ext3 (rw) >>> /dev/mapper/VolGroup00-LogVolTmp on /tmp type ext3 (rw) >>> /dev/mapper/VolGroup00-LogVolUsr on /usr type ext3 (rw) >>> /dev/cciss/c0d0p1 on /boot type ext3 (rw) >>> tmpfs on /dev/shm type tmpfs (rw) >>> none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) >>> sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) >>> >>> >>> My question is how can I tell where the partition on the array is >>> mapped to on my server? >>> >>> Thanks in advance. >>> Dan >>> >> >> Check out the lvm command, more specifically (as root or with sudo): >> >> lvm vgs >> lvm lvs >> lvm pvs >> >> Using my laptop as an example (username and hostname scrubbed): >> >> [12:07 PM] user @ laptop [~] $ sudo lvm vgs >> VG #PV #LV #SN Attr VSize VFree >> vg_laptop 1 3 0 wz--n- 297.89G 0 >> >> This one shows your volume groups. >> >> >> [12:08 PM] user @ laptop [~] $ sudo lvm lvs >> LV VG Attr LSize Origin Snap% Move Log Copy% Convert >> lv_root vg_laptop -wi-ao 60.51G >> lv_swap vg_laptop -wi-ao 5.67G >> lv_vm vg_laptop -wi-ao 231.71G >> >> This one shows the logical volumes and which volume group it is >> associated with. >> >> [12:08 PM] user @ laptop [~] $ sudo lvm pvs >> PV VG Fmt Attr PSize PFree >> /dev/sda2 vg_laptop lvm2 a- 297.89G 0 >> >> And finally, this one shows where the volume group is on the disk and >> what size/format it is. >> >> Tait > > Thanks, > > Only problem is I haven't done anything to the partitions on the array > yet. The mount paths are the partition setups I have done for the > local disks on the server. I need to know how to reach the partition > on the array. Incidentally the array is still building the volume but > it does say that since it is doing it online the partition is > available but I can't see on bootup. Any thoughts? > > Thanks > Dan > Hi Anyone have any thoughts on this? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: How to find out drive path - Help
On Mon, Oct 5, 2009 at 5:13 PM, Tait Clarridge wrote: > On Mon, 2009-10-05 at 16:58 +0100, Dan Track wrote: >> Hi, >> >> I've just added a new hp array to my server and when looking in dmesg >> I can see the following: >> >> scsi0 : ioc0: LSISAS1068E B3, FwRev=01192100h, Ports=1, MaxQ=343, IRQ=185 >> Vendor: HP Model: MSA2012sa Rev: J300 >> Type: Enclosure ANSI SCSI revision: 05 >> ACPI: PCI Interrupt :17:00.0[A] -> GSI 19 (level, low) -> IRQ 98 >> mptbase: ioc1: Initiating bringup >> ioc1: LSISAS1068E B3: Capabilities={Initiator} >> PCI: Setting latency timer of device :17:00.0 to 64 >> scsi1 : ioc1: LSISAS1068E B3, FwRev=01192100h, Ports=1, MaxQ=343, IRQ=98 >> Vendor: HP Model: MSA2012sa Rev: J300 >> Type: Enclosure ANSI SCSI revision: 05 >> HP CISS Driver (v 3.6.20-RH2) >> ACPI: PCI Interrupt :06:00.0[A] -> GSI 18 (level, low) -> IRQ 185 >> cciss0: <0x3230> at PCI :06:00.0 IRQ 130 using DAC >> blocks= 143305920 block_size= 512 >> heads= 255, sectors= 32, cylinders= 17562 >> >> blocks= 143305920 block_size= 512 >> heads= 255, sectors= 32, cylinders= 17562 >> >> cciss/c0d0: p1 p2 >> libata version 3.00 loaded. >> Initializing USB Mass Storage driver... >> >> >> mount >> /dev/mapper/VolGroup00-LogVolRoot on / type ext3 (rw) >> proc on /proc type proc (rw) >> sysfs on /sys type sysfs (rw) >> devpts on /dev/pts type devpts (rw,gid=5,mode=620) >> /dev/mapper/VolGroup00-LogVolVar on /var type ext3 (rw) >> /dev/mapper/VolGroup00-LogVolTmp on /tmp type ext3 (rw) >> /dev/mapper/VolGroup00-LogVolUsr on /usr type ext3 (rw) >> /dev/cciss/c0d0p1 on /boot type ext3 (rw) >> tmpfs on /dev/shm type tmpfs (rw) >> none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) >> sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) >> >> >> My question is how can I tell where the partition on the array is >> mapped to on my server? >> >> Thanks in advance. >> Dan >> > > Check out the lvm command, more specifically (as root or with sudo): > > lvm vgs > lvm lvs > lvm pvs > > Using my laptop as an example (username and hostname scrubbed): > > [12:07 PM] user @ laptop [~] $ sudo lvm vgs > VG #PV #LV #SN Attr VSize VFree > vg_laptop 1 3 0 wz--n- 297.89G 0 > > This one shows your volume groups. > > > [12:08 PM] user @ laptop [~] $ sudo lvm lvs > LV VG Attr LSize Origin Snap% Move Log Copy% Convert > lv_root vg_laptop -wi-ao 60.51G > lv_swap vg_laptop -wi-ao 5.67G > lv_vm vg_laptop -wi-ao 231.71G > > This one shows the logical volumes and which volume group it is > associated with. > > [12:08 PM] user @ laptop [~] $ sudo lvm pvs > PV VG Fmt Attr PSize PFree > /dev/sda2 vg_laptop lvm2 a- 297.89G 0 > > And finally, this one shows where the volume group is on the disk and > what size/format it is. > > Tait Thanks, Only problem is I haven't done anything to the partitions on the array yet. The mount paths are the partition setups I have done for the local disks on the server. I need to know how to reach the partition on the array. Incidentally the array is still building the volume but it does say that since it is doing it online the partition is available but I can't see on bootup. Any thoughts? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
How to find out drive path - Help
Hi, I've just added a new hp array to my server and when looking in dmesg I can see the following: scsi0 : ioc0: LSISAS1068E B3, FwRev=01192100h, Ports=1, MaxQ=343, IRQ=185 Vendor: HPModel: MSA2012sa Rev: J300 Type: Enclosure ANSI SCSI revision: 05 ACPI: PCI Interrupt :17:00.0[A] -> GSI 19 (level, low) -> IRQ 98 mptbase: ioc1: Initiating bringup ioc1: LSISAS1068E B3: Capabilities={Initiator} PCI: Setting latency timer of device :17:00.0 to 64 scsi1 : ioc1: LSISAS1068E B3, FwRev=01192100h, Ports=1, MaxQ=343, IRQ=98 Vendor: HPModel: MSA2012sa Rev: J300 Type: Enclosure ANSI SCSI revision: 05 HP CISS Driver (v 3.6.20-RH2) ACPI: PCI Interrupt :06:00.0[A] -> GSI 18 (level, low) -> IRQ 185 cciss0: <0x3230> at PCI :06:00.0 IRQ 130 using DAC blocks= 143305920 block_size= 512 heads= 255, sectors= 32, cylinders= 17562 blocks= 143305920 block_size= 512 heads= 255, sectors= 32, cylinders= 17562 cciss/c0d0: p1 p2 libata version 3.00 loaded. Initializing USB Mass Storage driver... mount /dev/mapper/VolGroup00-LogVolRoot on / type ext3 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/mapper/VolGroup00-LogVolVar on /var type ext3 (rw) /dev/mapper/VolGroup00-LogVolTmp on /tmp type ext3 (rw) /dev/mapper/VolGroup00-LogVolUsr on /usr type ext3 (rw) /dev/cciss/c0d0p1 on /boot type ext3 (rw) tmpfs on /dev/shm type tmpfs (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) My question is how can I tell where the partition on the array is mapped to on my server? Thanks in advance. Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: How to scroll to end of command line history
On Tue, May 19, 2009 at 12:10 PM, Andras Simon wrote: > On 5/19/09, Dan Track wrote: >> Hi, >> >> It's really annoying for me, that when I run "Ctrl+R" to search >> through the history I end up finding my command but I'm stuck in the >> history, how can I get to the end of the history with a keystroke. > > If you're using bash, and haven't changed the line editing mode, then > M-> (that is, hold down Alt while pressing the '>' key). > > Andras Thanks for that. I'm pressing alt+">" but nothing happens. Any ideas? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
How to scroll to end of command line history
Hi, It's really annoying for me, that when I run "Ctrl+R" to search through the history I end up finding my command but I'm stuck in the history, how can I get to the end of the history with a keystroke. Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[OT] ssh login script - Please Help
Hi I appreciate this is OT but could someone just give me a little advice, I've written this script to logon on each server then restart the ntpd daemon. The problem I have is it only restarts the daemon for the last server provided in the list, any ideas as to why and how to fix it? #!/usr/bin/expect -f set argc [llength $argv] for {set i 0} {$i<$argc} {incr i} { puts "arg $i: [lindex $argv $i]" set var1 [lindex $argv $i] spawn scp /etc/ntp.conf "r...@$var1:/etc/" spawn ssh r...@$var1 "/etc/init.d/ntpd restart" } ### expect { -re ".*es.*o.*" { exp_send "yes\r" exp_continue } -re ".*sword.*" { exp_send "\r" } } interact When run I get the following: ./test.expect server1 server2 arg 0: server1 spawn scp /etc/ntp.conf r...@server1:/tmp/ spawn ssh r...@server1 /etc/init.d/ntpd restart arg 1: server2 spawn scp /etc/ntp.conf r...@server2:/tmp/ spawn ssh r...@server2 /etc/init.d/ntpd restart r...@server2's password: Shutting down ntpd: [ OK ] Starting ntpd: [ OK ] Any ideas? Thanks for any help. Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: [OT] SSH login script - Help
2009/4/24 Manuel Aróstegui : > On Fri, 2009-04-24 at 10:12 +0100, Dan Track wrote: >> Hi Guys, >> >> I've written a simple for loop see below: >> >> for i in orion earth;do scp /etc/hosts /etc;done >> >> I have a small scripting knowledge so would appreciate some help. What >> I'd like to do is somehow change the above so that the script prompts >> me for a password and when I give the script the password it will use >> it to auto-reply to any password promtps that scp asks for when >> logging into all the servers. If I am right I believe readline needs >> to be used. If it can't be done in bash can you give me a perl >> alternative please. >> >> Thanks for your help. >> >> Dan >> > > Hi Dan, > > You might want to use autoexpect for that. > > This can get you in security problems since you'd need to write your > password in the script, but as long as you use user and groups perms > correctly you should kinda safe. > > Manuel. > Hi Manuel, Thankyou for your suggestion, is there any chance of getting the above scripted by yourself. I've never used autoexpect before. I appreciate the advice anyway. Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[OT] SSH login script - Help
Hi Guys, I've written a simple for loop see below: for i in orion earth;do scp /etc/hosts /etc;done I have a small scripting knowledge so would appreciate some help. What I'd like to do is somehow change the above so that the script prompts me for a password and when I give the script the password it will use it to auto-reply to any password promtps that scp asks for when logging into all the servers. If I am right I believe readline needs to be used. If it can't be done in bash can you give me a perl alternative please. Thanks for your help. Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[OT] sed command to add line after matching lines
Hi I appreciate this is off-topic but I would be grateful for some help on this. Basically,I want to add a few lines after matching a couple of lines in a file using sed, can someone please tell me how to do this. Lines to match server 10.33.45.3 server ldap.example.com server orion I want to comment these lines so they become: # server 10.33.45.3 # server ldap.example.com # server orion Then append these lines after the commented lines server fire.example.com server earth.example.com server space.example.com So I should end up with: # server 10.33.45.3 # server ldap.example.com # server orion server fire.example.com server earth.example.com server space.example.com Please bear in mind there is a lot of other text in this file not just the above and all the other text should remain untouched. Thanks for you help in advance. Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: vsftp and chroot problem
On Wed, Feb 4, 2009 at 12:26 PM, Thierry Sayegh De Bellis wrote: > Dan Track wrote: >> >> Hi Guys, >> >> I'm hoping you pro's can help me on this. I've setup vsftp to chroot >> users to their home directory after logging in via ftp, however I need >> one of those users to chroot to a different directory /opt/ftp/upload, >> can someone please let me know how I can achieve this? >> >> Thanks >> Dan >> >> > > is changing that user's $HOMEDIR an option? > then you just need to set it in /etc/passwd and get the golder permissions > right > > Hi Thierry, Thanks for the info, unfortunately I can't change the home directory, any thoughts? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
vsftp and chroot problem
Hi Guys, I'm hoping you pro's can help me on this. I've setup vsftp to chroot users to their home directory after logging in via ftp, however I need one of those users to chroot to a different directory /opt/ftp/upload, can someone please let me know how I can achieve this? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
How to fix fstab on bootup - forgot to comment out a line
Hi I forgot to comment out a line in /etc/fstab, now when my machine boots up it keeps dropping to a filesystem check and asks for teh root password. My question is how can I get to edit the /etc/fstab file on bootup or via grub? Please help. Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Disk Partition Size Query
On Fri, Jan 23, 2009 at 2:20 PM, Dan Track wrote: > Hi > > I've got a DL360 G4p connected to an MSA20 disk array. It's got a 9TB > logical partition created by HP SmartStart. How can I go about > creating a 9TB partition under rhel 5.2? What block size do I need to > achieve this and how will it affect performance? All the disks are > SCSI disk and the array is attached via SCSI to the server. > > Thanks > Dan > Hey Guys, Any thoughts on this? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: RAM question for everyone!
On Fri, Jan 23, 2009 at 4:25 PM, Patrick O'Callaghan wrote: > On Fri, 2009-01-23 at 10:24 -0600, Michael Cronenworth wrote: >> Original Message >> Subject: Re: RAM question for everyone! >> From: Alan Evans >> To: Community assistance, encouragement, and advice for using Fedora. >> >> Date: 01/23/2009 10:19 AM >> >> > >> > This question, along with other recent discussion about swap, leads me >> > to ask a question in response: Why is everyone so concerned about how >> > to get away without swap? >> > >> > Hard drives are cheap. Why does your server with potentially 10GB >> > (!!!) of RAM have a hard drive so small that you can't sacrifice a few >> > GB for swap? >> > >> > I'm really curious. >> > >> >> SATA Hard drive speeds - 70 megs to 150 megs a second unless you're RAIDing >> DDR2 RAM speeds - 6000 megs a second and up. >> >> If performance is a key issue, which I'm sure it is, you don't want swap. > > In which case the real question is not "how much swap do I need?" but > "how much RAM do I need to avoid swapping?". > > poc Hi All, This wasn't addressed to any paricular architecture, it was more of a query. Why do I even need swap or a large disk if all my app does is read a few pieces from a database on disk and if I load the database into RAM is there ever a need to look at the hardisk, given that the database never changes. Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: RAM question for everyone!
On Fri, Jan 23, 2009 at 4:07 PM, Mark Haney wrote: > Bryn M. Reeves wrote: >> Mark Haney wrote: >>> Dan Track wrote: >>>> I was recently asked a question about how much RAM should there be >>>> within a server given that the APP uses 8GB of Memory, should I buy >>>> 10Gig of memory and have a small harddrive and no swap space? Would >>>> this configuration allow everything in my OS to run from RAM and not >>>> from swap? If this is the case then there's no need to ever create >>>> swap, is there?!? >>>> >>>> Your thoughts are appreciated. >>>> >>>> Thanks >>>> Dan >>>> >>> >>> With RAM, the more the merrier. I guess the question is, what does this >> >> Unless you're on a 32-bit system in which case more RAM can make you >> much less merrier since the mere addition of the memory causes more >> pressure on the already constrained lowmem available on these platforms. >> >> Regards, >> Bryn. >> > > True, but the assumption was 64-bit since he says the app uses 8GB RAM. > > -- Thanks for the info, but if my only reads from disk and will not grow beyond 8GB is it true to say that I have no need for swap space if I install 10GB or more of RAM? Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
RAM question for everyone!
I was recently asked a question about how much RAM should there be within a server given that the APP uses 8GB of Memory, should I buy 10Gig of memory and have a small harddrive and no swap space? Would this configuration allow everything in my OS to run from RAM and not from swap? If this is the case then there's no need to ever create swap, is there?!? Your thoughts are appreciated. Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Disk Partition Size Query
Hi I've got a DL360 G4p connected to an MSA20 disk array. It's got a 9TB logical partition created by HP SmartStart. How can I go about creating a 9TB partition under rhel 5.2? What block size do I need to achieve this and how will it affect performance? All the disks are SCSI disk and the array is attached via SCSI to the server. Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Network performance utility query!
On Mon, Oct 20, 2008 at 11:51 AM, Max Pyziur <[EMAIL PROTECTED]> wrote: > > IPTraf? > >> From the Description: > > IPTraf is a console-based network monitoring utility. IPTraf gathers > data like TCP connection packet and byte counts, interface statistics > and activity indicators, TCP/UDP traffic breakdowns, and LAN station > packet and byte counts. IPTraf features include an IP traffic monitor > which shows TCP flag information, packet and byte counts, ICMP > details, OSPF packet types, and oversized IP packet warnings; > interface statistics showing IP, TCP, UDP, ICMP, non-IP and other IP > packet counts, IP checksum errors, interface activity and packet size > counts; a TCP and UDP service monitor showing counts of incoming and > outgoing packets for common TCP and UDP application ports, a LAN > statistics module that discovers active hosts and displays statistics > about their activity; TCP, UDP and other protocol display filters so > you can view just the traffic you want; logging; support for Ethernet, > FDDI, ISDN, SLIP, PPP, and loopback interfaces; and utilization of the > built-in raw socket interface of the Linux kernel, so it can be used > on a wide variety of supported network cards. > > > fyi, > > MP > [EMAIL PROTECTED] > > > On Mon, 20 Oct 2008, Dan Track wrote: > >> Hi >> >> Does anyone know of a program that I can use to test network >> performance. I've got to devices one linux and the other windows, I'd >> like to see if the linux device is getting nearly the max 100Mbit of >> performance when sending data to the windows box. Any thoughts? >> >> Thanks >> Dan >> Thanks, But that's only for monitoring isn't it? I need something that would generate the traffic aswell. Any thoughts? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Network performance utility query!
Hi Does anyone know of a program that I can use to test network performance. I've got to devices one linux and the other windows, I'd like to see if the linux device is getting nearly the max 100Mbit of performance when sending data to the windows box. Any thoughts? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: 3D effects query
On Wed, Oct 8, 2008 at 4:42 PM, Dan Track <[EMAIL PROTECTED]> wrote: > Hi > > I've installed an nvidia quaddro fx570 card and I have it up and > running in twinview. I've enabled 3d effects how can I tell if the 3d > is being done by the graphics card instead of my cpu? I'm only asking > this becuase when I shake my gnome terminal window II see a fuzzyness > as though it can't keep up the redraw with how fast I'm moving the > window, is this behaviour normal? > > Thanks > Dan > Does anyone have a clue about this? Is the graphics knowledge limited on this list? Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
3D effects query
Hi I've installed an nvidia quaddro fx570 card and I have it up and running in twinview. I've enabled 3d effects how can I tell if the 3d is being done by the graphics card instead of my cpu? I'm only asking this becuase when I shake my gnome terminal window II see a fuzzyness as though it can't keep up the redraw with how fast I'm moving the window, is this behaviour normal? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Dual Monitor Display Help
Hi I've got a ATI 3870 graphics card with two DVI connections. I've got one monitor running but how do I configure a second monitor? If I go to the display option and select a generic ldc 1280x1024 I can't press the "ok" button. It's as though it can't see the second monitor. Here's my lsmod: Module Size Used by drm 145380 0 i2c_core 20500 1 drm bridge 45336 0 bnep 14336 2 rfcomm 34064 4 l2cap 21632 16 bnep,rfcomm bluetooth 46308 5 bnep,rfcomm,l2cap fuse 47516 3 sunrpc153876 3 ip6t_REJECT 7296 2 xt_tcpudp 6656 1 nf_conntrack_ipv6 15992 2 xt_state5888 2 nf_conntrack 50132 2 nf_conntrack_ipv6,xt_state ip6table_filter 6400 1 ip6_tables 14864 1 ip6table_filter x_tables 15236 4 ip6t_REJECT,xt_tcpudp,xt_state,ip6_tables cpufreq_ondemand 10124 8 acpi_cpufreq 11660 0 loop 17164 0 dm_multipath 18056 0 ipv6 234300 34 ip6t_REJECT,nf_conntrack_ipv6 snd_hda_intel 321692 1 snd_seq_dummy 6532 0 snd_seq_oss29212 0 snd_seq_midi_event 9600 1 snd_seq_oss snd_seq44736 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event snd_seq_device 9740 3 snd_seq_dummy,snd_seq_oss,snd_seq snd_pcm_oss36480 0 snd_mixer_oss 16384 1 snd_pcm_oss snd_pcm60676 2 snd_hda_intel,snd_pcm_oss snd_timer 20744 2 snd_seq,snd_pcm snd_page_alloc 11016 2 snd_hda_intel,snd_pcm snd_hwdep 10244 1 snd_hda_intel snd46136 11 snd_hda_intel,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep iTCO_wdt 13604 0 iTCO_vendor_support 6916 1 iTCO_wdt firewire_ohci 22020 0 firewire_core 35360 1 firewire_ohci floppy 52180 0 soundcore 9288 1 snd wmi 9640 0 serio_raw 8708 0 pcspkr 6272 0 crc_itu_t 5760 1 firewire_core tg3 104452 0 sg 30900 0 sr_mod 17064 0 cdrom 33304 1 sr_mod ata_piix 19076 0 pata_acpi 7680 0 ata_generic 8452 0 dm_snapshot18468 0 dm_zero 5632 0 dm_mirror 20096 0 dm_log 12036 1 dm_mirror dm_mod 47924 18 dm_multipath,dm_snapshot,dm_zero,dm_mirror,dm_log ahci 27016 2 libata132456 4 ata_piix,pata_acpi,ata_generic,ahci sd_mod 26008 3 scsi_mod 122748 4 sg,sr_mod,libata,sd_mod ext3 108680 6 jbd40852 1 ext3 mbcache10116 1 ext3 uhci_hcd 22928 0 ohci_hcd 22532 0 Thanks for your help Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: ATI 3870 Graphics Card install Query
On Thu, Oct 2, 2008 at 4:17 PM, Raymond C. Rodgers <[EMAIL PROTECTED]> wrote: > Dan Track wrote: >> >> On Thu, Oct 2, 2008 at 11:05 AM, Dan Track <[EMAIL PROTECTED]> wrote: >> >>> >>> Hi >>> >>> I've just recently purchase an ATI 3780 card (Asus EAH3870) I'm having >>> a problem setting up any compiz or dual monitor support under fedora >>> 9. If I run compiz the screen remains blank with a beige background, >>> until it eventually reverts back to a normal display. I was under the >>> impression fedora 9 through the radeon driver supported this ati >>> model. Can anyone shed any light on how to resolve this please? >>> >>> Below is a list of details: >>> >>> >>> >> >> Hi Just wondering if someone can help me with this? >> >> Thanks >> Dan >> >> > > Unfortunately, not likely at this time. I'm not sure about for i386/i686, > but the ATI proprietary fglrx driver still doesn't work with F9 x86_64 after > more than four months without doing some apparently risky downgrades or > hacks, and I have my doubts about the 32-bit version. The default radeon > driver that is present in F9 by default doesn't do 3d acceleration, so > compiz and even GL based screen savers will not work properly if they work > at all. Heck, I often get lag when scrolling through my email with my > 3850... Needless to say, I'm beginning to wonder why I've stuck with Fedora > since FC2, I'm reasonably sure I could get the fglrx driver to work without > much effort on another distribution. > > Sorry for the bad news. > Raymond > Thanks for the reply. My first foray into the world of higher end graphics card has started off miserably. Infact my wireless card (linksys wmp54g) doesn't even work. I'm an optimistic kind of guy but after spending £100 on a graphics card I'm rather disappointed. I'm sure people are trying hard and my complements go to them, I just wished my optimism around the latest distro would have been well founded, I guess not. If anyone can help me find a way round, that would be appreciated. Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: ATI 3870 Graphics Card install Query
On Thu, Oct 2, 2008 at 11:05 AM, Dan Track <[EMAIL PROTECTED]> wrote: > Hi > > I've just recently purchase an ATI 3780 card (Asus EAH3870) I'm having > a problem setting up any compiz or dual monitor support under fedora > 9. If I run compiz the screen remains blank with a beige background, > until it eventually reverts back to a normal display. I was under the > impression fedora 9 through the radeon driver supported this ati > model. Can anyone shed any light on how to resolve this please? > > Below is a list of details: > > > lspci > 00:00.0 Host bridge: Intel Corporation 5400 Chipset Memory Controller > Hub (rev 20) > 00:01.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 1 (rev 20) > 00:05.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 5 (rev 20) > 00:09.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 9 (rev 20) > 00:10.0 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20) > 00:10.1 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20) > 00:10.2 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20) > 00:10.3 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20) > 00:10.4 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20) > 00:11.0 Host bridge: Intel Corporation 5400 Chipset CE/SF Registers (rev 20) > 00:15.0 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev 20) > 00:15.1 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev 20) > 00:16.0 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev 20) > 00:16.1 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev 20) > 00:1c.0 PCI bridge: Intel Corporation 631xESB/632xESB/3100 Chipset PCI > Express Root Port 1 (rev 09) > 00:1d.0 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset > UHCI USB Controller #1 (rev 09) > 00:1d.1 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset > UHCI USB Controller #2 (rev 09) > 00:1d.2 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset > UHCI USB Controller #3 (rev 09) > 00:1d.3 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset > UHCI USB Controller #4 (rev 09) > 00:1d.7 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset > EHCI USB2 Controller (rev 09) > 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d9) > 00:1f.0 ISA bridge: Intel Corporation 631xESB/632xESB/3100 Chipset LPC > Interface Controller (rev 09) > 00:1f.1 IDE interface: Intel Corporation 631xESB/632xESB IDE Controller (rev > 09) > 00:1f.2 RAID bus controller: Intel Corporation 631xESB/632xESB SATA > RAID Controller (rev 09) > 01:04.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 61) > 0e:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5755 > Gigabit Ethernet PCI Express (rev 02) > 10:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express > Upstream Port (rev 01) > 10:00.3 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express to > PCI-X Bridge (rev 01) > 1e:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express > Downstream Port E1 (rev 01) > 1e:01.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express > Downstream Port E2 (rev 01) > 60:00.0 VGA compatible controller: ATI Technologies Inc Radeon HD 3870 > 60:00.1 Audio device: ATI Technologies Inc Radeon HD 3870 Audio device > > > lsmod > Module Size Used by > drm 145380 0 > i2c_core 20500 1 drm > bridge 45336 0 > bnep 14336 2 > rfcomm 34064 4 > l2cap 21632 16 bnep,rfcomm > bluetooth 46308 5 bnep,rfcomm,l2cap > fuse 47516 3 > sunrpc153876 3 > ip6t_REJECT 7296 2 > xt_tcpudp 6656 1 > nf_conntrack_ipv6 15992 2 > xt_state5888 2 > nf_conntrack 50132 2 nf_conntrack_ipv6,xt_state > ip6table_filter 6400 1 > ip6_tables 14864 1 ip6table_filter > x_tables 15236 4 ip6t_REJECT,xt_tcpudp,xt_state,ip6_tables > cpufreq_ondemand 10124 8 > acpi_cpufreq 11660 0 > loop 17164 0 > dm_multipath 18056 0 > ipv6 234300 34 ip6t_REJECT,nf_conntrack_ipv6 > snd_hda_intel 321692 1 > snd_seq_dummy 6532 0 > snd_seq_oss29212 0 > snd_seq_midi_event 9600 1 snd_seq_oss > snd_seq44736 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event > snd_seq_device 9740 3 snd_seq_dummy,snd_seq_oss,snd_seq > snd_pcm_oss36480 0 > snd_mixer_oss 16384 1 snd_pcm_oss > snd_pcm60676
ATI 3870 Graphics Card install Query
Hi I've just recently purchase an ATI 3780 card (Asus EAH3870) I'm having a problem setting up any compiz or dual monitor support under fedora 9. If I run compiz the screen remains blank with a beige background, until it eventually reverts back to a normal display. I was under the impression fedora 9 through the radeon driver supported this ati model. Can anyone shed any light on how to resolve this please? Below is a list of details: lspci 00:00.0 Host bridge: Intel Corporation 5400 Chipset Memory Controller Hub (rev 20) 00:01.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 1 (rev 20) 00:05.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 5 (rev 20) 00:09.0 PCI bridge: Intel Corporation 5400 Chipset PCI Express Port 9 (rev 20) 00:10.0 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20) 00:10.1 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20) 00:10.2 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20) 00:10.3 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20) 00:10.4 Host bridge: Intel Corporation 5400 Chipset FSB Registers (rev 20) 00:11.0 Host bridge: Intel Corporation 5400 Chipset CE/SF Registers (rev 20) 00:15.0 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev 20) 00:15.1 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev 20) 00:16.0 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev 20) 00:16.1 Host bridge: Intel Corporation 5400 Chipset FBD Registers (rev 20) 00:1c.0 PCI bridge: Intel Corporation 631xESB/632xESB/3100 Chipset PCI Express Root Port 1 (rev 09) 00:1d.0 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #1 (rev 09) 00:1d.1 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #2 (rev 09) 00:1d.2 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #3 (rev 09) 00:1d.3 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #4 (rev 09) 00:1d.7 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset EHCI USB2 Controller (rev 09) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d9) 00:1f.0 ISA bridge: Intel Corporation 631xESB/632xESB/3100 Chipset LPC Interface Controller (rev 09) 00:1f.1 IDE interface: Intel Corporation 631xESB/632xESB IDE Controller (rev 09) 00:1f.2 RAID bus controller: Intel Corporation 631xESB/632xESB SATA RAID Controller (rev 09) 01:04.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 61) 0e:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5755 Gigabit Ethernet PCI Express (rev 02) 10:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Upstream Port (rev 01) 10:00.3 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express to PCI-X Bridge (rev 01) 1e:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E1 (rev 01) 1e:01.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E2 (rev 01) 60:00.0 VGA compatible controller: ATI Technologies Inc Radeon HD 3870 60:00.1 Audio device: ATI Technologies Inc Radeon HD 3870 Audio device lsmod Module Size Used by drm 145380 0 i2c_core 20500 1 drm bridge 45336 0 bnep 14336 2 rfcomm 34064 4 l2cap 21632 16 bnep,rfcomm bluetooth 46308 5 bnep,rfcomm,l2cap fuse 47516 3 sunrpc153876 3 ip6t_REJECT 7296 2 xt_tcpudp 6656 1 nf_conntrack_ipv6 15992 2 xt_state5888 2 nf_conntrack 50132 2 nf_conntrack_ipv6,xt_state ip6table_filter 6400 1 ip6_tables 14864 1 ip6table_filter x_tables 15236 4 ip6t_REJECT,xt_tcpudp,xt_state,ip6_tables cpufreq_ondemand 10124 8 acpi_cpufreq 11660 0 loop 17164 0 dm_multipath 18056 0 ipv6 234300 34 ip6t_REJECT,nf_conntrack_ipv6 snd_hda_intel 321692 1 snd_seq_dummy 6532 0 snd_seq_oss29212 0 snd_seq_midi_event 9600 1 snd_seq_oss snd_seq44736 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event snd_seq_device 9740 3 snd_seq_dummy,snd_seq_oss,snd_seq snd_pcm_oss36480 0 snd_mixer_oss 16384 1 snd_pcm_oss snd_pcm60676 2 snd_hda_intel,snd_pcm_oss snd_timer 20744 2 snd_seq,snd_pcm snd_page_alloc 11016 2 snd_hda_intel,snd_pcm snd_hwdep 10244 1 snd_hda_intel snd46136 11 snd_hda_intel,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep iTCO_wdt 13604 0 iTCO_vendor_support 6916 1 iTCO_wdt firewire_ohci 22020 0 firewire_core 35360 1 firewire_ohci floppy 52180 0 soundcore 9288 1 snd wmi 9640
Re: Workspace Switcher problem in Fedora 9
On Fri, Sep 26, 2008 at 5:31 PM, Jonathan Dieter <[EMAIL PROTECTED]> wrote: > On Fri, 2008-09-26 at 09:12 -0700, Alan Evans wrote: >> On Thu, Sep 25, 2008 at 9:08 AM, Paul W. Frields <[EMAIL PROTECTED]> wrote: >> > I'll have to give this a try from my laptop -- I'm actually running >> > remotely over VNC right now so I can't enable desktop effects from here. >> >> With desktop effects enabled, I've only ever been able to have 4 >> workspaces. Very annoying. > > In gconf-editor, change the value > of /apps/compiz/general/screen0/options/hsize. I have six workspaces > under compiz (and have had since I started using it over a year ago). > > Jonathan Thanks That solved my problem!! Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Workspace Switcher problem in Fedora 9
On Fri, Sep 26, 2008 at 5:31 PM, Aldo Foot <[EMAIL PROTECTED]> wrote: > On Thu, Sep 25, 2008 at 4:17 AM, Dan Track <[EMAIL PROTECTED]> wrote: >> Hi >> >> I've just noticed that I can't increase the default number of >> workspaces in fedora 9. The only way to increase them is by adding >> rows, so where has the option to add workspace to the current row >> gone, and how do I get it back? >> >> Thanks >> Dan > > Just curious: are you using Gnome or KDE? > Does the problem occurr with both desktop mgrs? Hi I'm using the default that was installed with Fedora 9 i.e Gnome Desktop with Metacity. Hopefully a bugfix can be released. I'm glad I'm not the only one with the problem. Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Workspace Switcher problem in Fedora 9
On Thu, Sep 25, 2008 at 5:40 PM, Dan Track <[EMAIL PROTECTED]> wrote: > On Thu, Sep 25, 2008 at 5:08 PM, Paul W. Frields <[EMAIL PROTECTED]> wrote: >> On Thu, 2008-09-25 at 17:00 +0100, Dan Track wrote: >>> On Thu, Sep 25, 2008 at 1:45 PM, Paul W. Frields <[EMAIL PROTECTED]> wrote: >>> > On Thu, 2008-09-25 at 12:17 +0100, Dan Track wrote: >>> >> Hi >>> >> >>> >> I've just noticed that I can't increase the default number of >>> >> workspaces in fedora 9. The only way to increase them is by adding >>> >> rows, so where has the option to add workspace to the current row >>> >> gone, and how do I get it back? >>> > >>> > I'm not having this problem at all. Try creating a separate, new user >>> > account, and see if that user has the problem. If not, can your normal >>> > user write to the ~/.gconf/apps/metacity/general/ folder? >>> > >>> > Does this work? (It should set the number of workspaces to 10, rows to >>> > 1.) >>> > >>> > gconftool-2 -s --type int /apps/metacity/general/num_workspaces 10 >>> > gconftool-2 -s --type int >>> > /apps/panel/applets/workspace_switcher/prefs/num_rows 1 >>> > >>> >>> Thanks for the reply. I've just tried running your commands. They both >>> ran without giving any errors but it didn't change my panel though. I >>> haven't had a chance to log out yet but I can do. Just so you know its >>> a new installation which I did yesterday - no fancy extra's from >>> external sources - all fedora. I've also updated to the latest >>> updates. >>> >>> Any thoughts? >> >> I'll have to give this a try from my laptop -- I'm actually running >> remotely over VNC right now so I can't enable desktop effects from here. >> >> -- > Thanks for testing. Look forward to hearing from you. > > Dan > Hi Paul, Just wondering if you had a chance to test this? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Workspace Switcher problem in Fedora 9
On Thu, Sep 25, 2008 at 5:08 PM, Paul W. Frields <[EMAIL PROTECTED]> wrote: > On Thu, 2008-09-25 at 17:00 +0100, Dan Track wrote: >> On Thu, Sep 25, 2008 at 1:45 PM, Paul W. Frields <[EMAIL PROTECTED]> wrote: >> > On Thu, 2008-09-25 at 12:17 +0100, Dan Track wrote: >> >> Hi >> >> >> >> I've just noticed that I can't increase the default number of >> >> workspaces in fedora 9. The only way to increase them is by adding >> >> rows, so where has the option to add workspace to the current row >> >> gone, and how do I get it back? >> > >> > I'm not having this problem at all. Try creating a separate, new user >> > account, and see if that user has the problem. If not, can your normal >> > user write to the ~/.gconf/apps/metacity/general/ folder? >> > >> > Does this work? (It should set the number of workspaces to 10, rows to >> > 1.) >> > >> > gconftool-2 -s --type int /apps/metacity/general/num_workspaces 10 >> > gconftool-2 -s --type int >> > /apps/panel/applets/workspace_switcher/prefs/num_rows 1 >> > >> >> Thanks for the reply. I've just tried running your commands. They both >> ran without giving any errors but it didn't change my panel though. I >> haven't had a chance to log out yet but I can do. Just so you know its >> a new installation which I did yesterday - no fancy extra's from >> external sources - all fedora. I've also updated to the latest >> updates. >> >> Any thoughts? > > I'll have to give this a try from my laptop -- I'm actually running > remotely over VNC right now so I can't enable desktop effects from here. > > -- Thanks for testing. Look forward to hearing from you. Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Workspace Switcher problem in Fedora 9
On Thu, Sep 25, 2008 at 1:45 PM, Paul W. Frields <[EMAIL PROTECTED]> wrote: > On Thu, 2008-09-25 at 12:17 +0100, Dan Track wrote: >> Hi >> >> I've just noticed that I can't increase the default number of >> workspaces in fedora 9. The only way to increase them is by adding >> rows, so where has the option to add workspace to the current row >> gone, and how do I get it back? > > I'm not having this problem at all. Try creating a separate, new user > account, and see if that user has the problem. If not, can your normal > user write to the ~/.gconf/apps/metacity/general/ folder? > > Does this work? (It should set the number of workspaces to 10, rows to > 1.) > > gconftool-2 -s --type int /apps/metacity/general/num_workspaces 10 > gconftool-2 -s --type int > /apps/panel/applets/workspace_switcher/prefs/num_rows 1 > Thanks for the reply. I've just tried running your commands. They both ran without giving any errors but it didn't change my panel though. I haven't had a chance to log out yet but I can do. Just so you know its a new installation which I did yesterday - no fancy extra's from external sources - all fedora. I've also updated to the latest updates. Any thoughts? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Workspace Switcher problem in Fedora 9
On Thu, Sep 25, 2008 at 1:51 PM, Tim <[EMAIL PROTECTED]> wrote: > On Thu, 2008-09-25 at 12:17 +0100, Dan Track wrote: >> I've just noticed that I can't increase the default number of >> workspaces in fedora 9. > > I can, and I didn't have to do this: > >> The only way to increase them is by adding rows > > Are you running compiz (desktop-effects)? I'm not. > > -- Hi I am running compiz and I have options for "GL effects". Is there anything I can run to test if this is a problem? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Workspace Switcher problem in Fedora 9
Hi I've just noticed that I can't increase the default number of workspaces in fedora 9. The only way to increase them is by adding rows, so where has the option to add workspace to the current row gone, and how do I get it back? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Network card cable connection query
On Thu, Sep 25, 2008 at 11:29 AM, Alan Cox <[EMAIL PROTECTED]> wrote: > On Thu, 25 Sep 2008 11:15:56 +0100 > "Dan Track" <[EMAIL PROTECTED]> wrote: > >> Hi >> >> Is there a way to identify whether a network card has a rj45 cable >> plugged into it from linux? > > ethtool > /sbin/ethtool eth0 > Settings for eth0: >Supported ports: [ TP ] >Supported link modes: 10baseT/Half 10baseT/Full >100baseT/Half 100baseT/Full >1000baseT/Half 1000baseT/Full >Supports auto-negotiation: Yes >Advertised link modes: 10baseT/Half 10baseT/Full >100baseT/Half 100baseT/Full >1000baseT/Half 1000baseT/Full >Advertised auto-negotiation: Yes >Speed: 1000Mb/s >Duplex: Full >Port: Twisted Pair >PHYAD: 0 >Transceiver: internal >Auto-negotiation: on >Supports Wake-on: pg >Wake-on: d >Current message level: 0x00ff (255) >Link detected: yes > Thanks Alan, that was spot on. I assume the "link detected" means that a cable is connected in. Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Network card cable connection query
Hi Is there a way to identify whether a network card has a rj45 cable plugged into it from linux? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Gnome Terminal and Session management Query
On Fri, Aug 29, 2008 at 3:00 PM, Dan Track <[EMAIL PROTECTED]> wrote: > On Thu, Aug 28, 2008 at 5:14 PM, Dan Track <[EMAIL PROTECTED]> wrote: >> Hi >> >> I've got fedora 9 installed and I'd like it to store sessions for all >> my routers,switches, firewalls, servers etc just like putty and >> securecrt do. How can I manage that in a sensible way, I've got nearly >> a 100 different devices so a long list wouldn't be ideal, something >> like creating folders e.g network, linux and then storing the sessions >> in there would be good. >> >> Any suggestions would be appreciated. >> >> Thanks >> Dan > > > Hey Guys, > > Can anyone give any thoughts on this? I just need to save profiles in > a logical way! > > Thanks > Dan Hi Guess no one has this type of problem. I'm curious how do you guys then manage all your servers and network devices? Do you memorise the hostnames or ip addresses and ssh or telnet in every time you need log in? Is there something fundamental I'm missing? Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: How find my process id for my shell
On Fri, Aug 29, 2008 at 3:17 PM, Ed Greshko <[EMAIL PROTECTED]> wrote: > Dan Track wrote: >> Hi >> >> I'm logged in at the moment, how do I find my process id for the shell >> I'm in, given that there are loads of other shells aswell. I'm using >> bash? >> >> > For a bash shell > > echo $$ > > Ed > Hi Thanks that did it. Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
How find my process id for my shell
Hi I'm logged in at the moment, how do I find my process id for the shell I'm in, given that there are loads of other shells aswell. I'm using bash? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Gnome Terminal and Session management Query
On Thu, Aug 28, 2008 at 5:14 PM, Dan Track <[EMAIL PROTECTED]> wrote: > Hi > > I've got fedora 9 installed and I'd like it to store sessions for all > my routers,switches, firewalls, servers etc just like putty and > securecrt do. How can I manage that in a sensible way, I've got nearly > a 100 different devices so a long list wouldn't be ideal, something > like creating folders e.g network, linux and then storing the sessions > in there would be good. > > Any suggestions would be appreciated. > > Thanks > Dan Hey Guys, Can anyone give any thoughts on this? I just need to save profiles in a logical way! Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Gnome Terminal and Session management Query
Hi I've got fedora 9 installed and I'd like it to store sessions for all my routers,switches, firewalls, servers etc just like putty and securecrt do. How can I manage that in a sensible way, I've got nearly a 100 different devices so a long list wouldn't be ideal, something like creating folders e.g network, linux and then storing the sessions in there would be good. Any suggestions would be appreciated. Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: NFS info
On Wed, Aug 27, 2008 at 4:14 AM, Joseph Loo <[EMAIL PROTECTED]> wrote: > > On Tue, 2008-08-26 at 15:44 +0100, Dan Track wrote: >> Hi >> >> I'm getting a constant problem where when I boot up a server that is >> moutning the /opt/logs dir from another server, the booting server >> hangs when the nfs server doesn't repond. Could you please give me an >> idea what options or setups I could use to get teh booting server to >> boot up and not hang on the nfs mount section? >> >> Thanks >> Dan >> > I use the soft,intr options on my nfs mounts. > To me the best way is not to mount the directory unless you need to. I > use autofs to do the mounts for me. That way, when I need to mount the > nfs directory, it will automatically mount and unmount the directory. > This works whenever I reference the directory, e.g., ls /opt/log. this > will cause a mount. I also have a 60 second timeout, so that if I do not > use the mount, it will unmount the directory automatically. > -- > Joseph Loo > [EMAIL PROTECTED] Hi Thanks for the info. I agree with the fact that source of the problem should be addressed, it's just that the nfs share isn't critical while the applications running on the server are, so from a worse case scenario we just want the server up even if we can't get the nfs shares mounted. As a point, could you let me know why we can't mount a critical path e.g /usr/local/lib using autofs? Wouldn't any request e.g from a script or from cron or any other process cause the path to be mounted? Is there any problesm with this approach? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
NFS info
Hi I'm getting a constant problem where when I boot up a server that is moutning the /opt/logs dir from another server, the booting server hangs when the nfs server doesn't repond. Could you please give me an idea what options or setups I could use to get teh booting server to boot up and not hang on the nfs mount section? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Re: can't get X to work after installing F9
On Thu, Aug 21, 2008 at 4:35 AM, Tim <[EMAIL PROTECTED]> wrote: > On Wed, 2008-08-20 at 20:41 -0500, [EMAIL PROTECTED] wrote: >> I upgraded my aging F7 box to F9 yesterday by reinstalling from >> scratch. After I finished installing selected packages and rebooted, >> I discovered that X no longer worked. > > Before anything else, I'd try doing a "yum update" to make sure you've > got the latest versions of everything installed, particularly related to > X. > > Then, "system-config-display --reconfig" or simply erase the xorg.conf > file and try running without one (for automatic config, each boot). > > -- > [EMAIL PROTECTED] ~]$ uname -r > 2.6.25.14-108.fc9.i686 > > Don't send private replies to my address, the mailbox is ignored. I > read messages from the public lists. Tim, If it's a matrox card then that the matrox driver doesn't work with the new xorg server in Fedora 9. You'll need to get another card or maybe try the new (beta) matrox driver from the originators website (I can't remember the website). Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Re: Which ATI graphics card shall I choose for fedora/rhel
On Wed, Aug 20, 2008 at 7:08 PM, Steve Repo <[EMAIL PROTECTED]> wrote: > On Wed, Aug 20, 2008 at 11:07 PM, Chris Jones <[EMAIL PROTECTED]> wrote: >> Any reason why it has to be ATI ? Nvidia make cards too ... >>> >>> Well, yes, but while native x.org/mesa support for ATI is growing, since >>> ATI is opening up their hardware to the free software community, for the >>> foreseeable future you will always need Nvidia's binary blobs, to drive >>> their hardware. ATI should be supported for their decision to support >>> the free software community, and Nvidia should be boycotted. >>> > > > Amen! > Thanks everyone for your replies. I've orderd the ATI x1600 card now so let's see what happens. BTW do you recklon fglrx will be fixed soon for xorg 1.5? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Re: [OT] Awk question
On Wed, Aug 20, 2008 at 11:11 AM, Rui Miguel Silva Seabra <[EMAIL PROTECTED]> wrote: > On Wed, Aug 20, 2008 at 11:03:58AM +0100, Dan Track wrote: >> Just wondering if you could lend me a little hand. Basically I want to >> rename a file from log.1 log.2 etc to log.10.36.34. The time stamp >> (ignore the date) should be the last written time, so far I've got to >> this stage: >> >> stat log | sed -n '/Modify:/p' | awk -F ' ' '{print $3}' >> >> so I get : >> 11:01:09.0 >> >> How can I get rid of the leading 0'swithout having to pipe the output >> to anotehr awk statement, is it possible to do this withing the >> current awk statement? > > There simpler solutions but this works: > > stat log | awk '/Modify/ { print $3 }' | cut -d . -f 1 > Hi I had already changed it to do it the way you mentioned. Guess there's no way to do a second break within AWK. Thanks Guys, Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Re: Which ATI graphics card shall I choose for fedora/rhel
On Wed, Aug 20, 2008 at 11:36 AM, Matthew Miller <[EMAIL PROTECTED]> wrote: > On Wed, Aug 20, 2008 at 11:24:47AM +0100, Dan Track wrote: >> Thanks for that. My supplier said he can't get that card but he said >> he can get the Saphirre Radeon x1650 Pro 512MB DDR2 AGP VGA DVI TV, >> would you know if that's supported and would work well with fedora 9 >> and compiz? > > That's an R500 chipset. It'll work in 2d now, and 3D (and with compiz) in > the future. If you need 3D now, you need a much older card -- R200 or R300 > chipset. Look at the man page for "radeon" for product name-to-chipset > matching. > Great thanks for that. From what you said does that mean I can't run compiz on fedora 9? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Re: Which ATI graphics card shall I choose for fedora/rhel
On Wed, Aug 20, 2008 at 11:01 AM, Steve Repo <[EMAIL PROTECTED]> wrote: > On Wed, Aug 20, 2008 at 2:53 AM, Dan Track <[EMAIL PROTECTED]> wrote: >> On Wed, Aug 20, 2008 at 10:49 AM, Dan Track <[EMAIL PROTECTED]> wrote: >>> On Wed, Aug 20, 2008 at 10:33 AM, Ed Greshko <[EMAIL PROTECTED]> wrote: >>>> Dan Track wrote: >>>>> >>>>> On Wed, Aug 20, 2008 at 10:00 AM, Dan Track <[EMAIL PROTECTED]> wrote: >>>>>> >>>>>> Hi >>>>>> >>>>>> I'm looking for an ATI card for my work pc, doesn't do much apart from >>>>>> browsing and use for remote server management, which card should I >>>>>> buy? I need to make a decision in the next hour or so. >>>>>> >>>>>> I'd like it to be able to handle the compiz stuff aswell. >>>>>> >>>>>> Thanks >>>>>> Dan >>>>>> >>>>> >>>>> Hi >>>>> >>>>> I'd just like to add that I need a PCI card not PCI-e. >>>> >>>> Have you gone to the ATI website and checked on what is available in PCI? >>>> Your choices seem limitedat least from a US perspective. I guess I'm >>>> surprised your system doesn't have an AGP slot. >>>> >>> >>> Hi >>> >>> Thanks for the reply, I do have an agp slot so thats an option aswell. >>> Any thoughts on a card selection? >>> >>> Thanks >>> Dan >>> >> >> Guys, >> >> Do you think the ATI x1300 pro would work ok? >> >> T > > Yes and very well supported by open source drivers including compiz Hi Thanks for that. My supplier said he can't get that card but he said he can get the Saphirre Radeon x1650 Pro 512MB DDR2 AGP VGA DVI TV, would you know if that's supported and would work well with fedora 9 and compiz? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[OT] Awk question
Guys, Just wondering if you could lend me a little hand. Basically I want to rename a file from log.1 log.2 etc to log.10.36.34. The time stamp (ignore the date) should be the last written time, so far I've got to this stage: stat log | sed -n '/Modify:/p' | awk -F ' ' '{print $3}' so I get : 11:01:09.0 How can I get rid of the leading 0'swithout having to pipe the output to anotehr awk statement, is it possible to do this withing the current awk statement? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Re: Which ATI graphics card shall I choose for fedora/rhel
On Wed, Aug 20, 2008 at 10:49 AM, Dan Track <[EMAIL PROTECTED]> wrote: > On Wed, Aug 20, 2008 at 10:33 AM, Ed Greshko <[EMAIL PROTECTED]> wrote: >> Dan Track wrote: >>> >>> On Wed, Aug 20, 2008 at 10:00 AM, Dan Track <[EMAIL PROTECTED]> wrote: >>>> >>>> Hi >>>> >>>> I'm looking for an ATI card for my work pc, doesn't do much apart from >>>> browsing and use for remote server management, which card should I >>>> buy? I need to make a decision in the next hour or so. >>>> >>>> I'd like it to be able to handle the compiz stuff aswell. >>>> >>>> Thanks >>>> Dan >>>> >>> >>> Hi >>> >>> I'd just like to add that I need a PCI card not PCI-e. >> >> Have you gone to the ATI website and checked on what is available in PCI? >> Your choices seem limitedat least from a US perspective. I guess I'm >> surprised your system doesn't have an AGP slot. >> > > Hi > > Thanks for the reply, I do have an agp slot so thats an option aswell. > Any thoughts on a card selection? > > Thanks > Dan > Guys, Do you think the ATI x1300 pro would work ok? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Re: Which ATI graphics card shall I choose for fedora/rhel
On Wed, Aug 20, 2008 at 10:33 AM, Ed Greshko <[EMAIL PROTECTED]> wrote: > Dan Track wrote: >> >> On Wed, Aug 20, 2008 at 10:00 AM, Dan Track <[EMAIL PROTECTED]> wrote: >>> >>> Hi >>> >>> I'm looking for an ATI card for my work pc, doesn't do much apart from >>> browsing and use for remote server management, which card should I >>> buy? I need to make a decision in the next hour or so. >>> >>> I'd like it to be able to handle the compiz stuff aswell. >>> >>> Thanks >>> Dan >>> >> >> Hi >> >> I'd just like to add that I need a PCI card not PCI-e. > > Have you gone to the ATI website and checked on what is available in PCI? > Your choices seem limitedat least from a US perspective. I guess I'm > surprised your system doesn't have an AGP slot. > Hi Thanks for the reply, I do have an agp slot so thats an option aswell. Any thoughts on a card selection? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Re: Which ATI graphics card shall I choose for fedora/rhel
On Wed, Aug 20, 2008 at 10:00 AM, Dan Track <[EMAIL PROTECTED]> wrote: > Hi > > I'm looking for an ATI card for my work pc, doesn't do much apart from > browsing and use for remote server management, which card should I > buy? I need to make a decision in the next hour or so. > > I'd like it to be able to handle the compiz stuff aswell. > > Thanks > Dan > Hi I'd just like to add that I need a PCI card not PCI-e. Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Which ATI graphics card shall I choose for fedora/rhel
Hi I'm looking for an ATI card for my work pc, doesn't do much apart from browsing and use for remote server management, which card should I buy? I need to make a decision in the next hour or so. I'd like it to be able to handle the compiz stuff aswell. Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Re: X keeps reloading and doesn't show a display - please HELP
2008/8/19 Steve Repo <[EMAIL PROTECTED]>: > > > On Tue, Aug 19, 2008 at 4:28 PM, Dan Track <[EMAIL PROTECTED]> wrote: >> >> Hi >> >> I've just tried that but I still can't get a display when I run the >> system-config-display, the monitor just flickers between teh on and >> off state, is there any other way of resetting it becuase I'm not sure >> where it's getting it's config from now that I've deleted it. >> > > system-config-display maybe trying a new configuration. > > Can you post your xorg.conf? > > What video card do you have? > > Steve > Hi I think I just figured out the problem, its the mga driver for my dual head matrox 550 card. I see there's some sort of issue with fedora 9 and the matrox driver. Is there a solution for this that you are aware of? If I chage the driver to vesa it works fine although I can't get a resolution of 1280x1024, is there another driver I can use? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Re: X keeps reloading and doesn't show a display - please HELP
Hi I've just tried that but I still can't get a display when I run the system-config-display, the monitor just flickers between teh on and off state, is there any other way of resetting it becuase I'm not sure where it's getting it's config from now that I've deleted it. Thanks Dan 2008/8/19 Steve Repo <[EMAIL PROTECTED]>: > > > On Tue, Aug 19, 2008 at 3:30 PM, Dan Track <[EMAIL PROTECTED]> wrote: >> >> Hi >> >> I've just installed Fedora 9 on my box, initally I got a standard >> display on my LG monitor after that I swapped it for an NEC and then >> ammened the monitor setup with system-config-display. However, now I >> don't get a display X keeps restarting, at least that's what I think, >> as the monitor power light keeps going from green to orange but I >> don't see a display. Is there any way to reset the xorg.conf file to >> it's original state? > > Delete the xorg.conf and re-run system-config-display > > Steve > > > -- > fedora-list mailing list > fedora-list@redhat.com > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list > -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
X keeps reloading and doesn't show a display - please HELP
Hi I've just installed Fedora 9 on my box, initally I got a standard display on my LG monitor after that I swapped it for an NEC and then ammened the monitor setup with system-config-display. However, now I don't get a display X keeps restarting, at least that's what I think, as the monitor power light keeps going from green to orange but I don't see a display. Is there any way to reset the xorg.conf file to it's original state? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Ethtool and Xen
Hi I'm running ethtool eth0 on my xen host (Dom0) but all I get is the following output: Settings for eth0: Link detected: yes How can I find out more information specifically I want find out at what speed they are operating, and is there a reason why output is limited? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Xen and copying files between vm's
Hi Is there a way for me to copy files from one xen vm machine to another without having to rely on scp through the virtual connections? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Re: Understanding how dd works
On Wed, Jun 25, 2008 at 2:19 PM, Patrick O'Callaghan <[EMAIL PROTECTED]> wrote: > On Wed, 2008-06-25 at 13:31 +0100, Dan Track wrote: >> Thanks for the heads up on this. If the data blocks don't have >> anything written into them, then what data is written into them when >> using dd? if I restore the dd image will the blocks then be in the >> same state i.e unwritten to? >> >> Also following on from this if I create a file using dd let's say 2GB, >> how does the filesystem know that all these blocks belong to the file >> myfile.img, and where is the information stored to say that a block >> has data written into it or not? > > It's important to understand that this has nothing to do with 'dd', it's > simply how the Unix filesystem works, and since Linux is "culturally > derived" from Unix, it does the same thing. You would see the same > effect just by using 'cp' or even 'cat'. > > The basic points are these (I'm skating over a lot for clarity): > > 1) The system maintains a list of every physical disk block assigned to > the file (thus one of the things the 'fsck' command checks is that every > block in the filesystem is either assigned to a file or is on the free > list). > > 2) When a process writes to a file it need not do so sequentially > because the lseek(2) operation allows it to move it's "current position" > in the file. Furthermore, it's permissible to move the pointer beyond > the current end of the file. If a process does this by a large enough > amount and then writes data, the intervening space may have no disk > blocks assigned to it (depending on the distance moved and block > alignment). This is called a 'hole'. Files with holes in them are called > 'sparse'. > > 3) The system keeps a separate count of the logical size of the file. > Because of the holes the logical size may be different from the physical > size. "ls -l" shows the logical size. "du" shows the real physical size > and may be different. > > 4) When a process tries to read from a hole, the system simply returns > nulls for the corresponding bytes. However if a process writes nulls > into a file, the system does *not* make any effort to detect them as a > special case, so they are simply written as any other data and the > system will allocate blocks to them. This happens when 'dd' (or 'cp' or > 'cat') copies a file, so the resulting file can be larger than the > original. > > Note that 'rsync --sparse' will preserve holes when it can. > > Note also that if you're not careful you can backup a file or even a > filesystem that you can't restore because it's too big, especially if > copying it to some medium (e.g. a tape drive or non-UNIX disk system) > that can't handle sparse files. > > Hope this helps. > > poc Hi Patrick, Really appreciate the detailed explanation. It's a real eye opener. Can you point me to any docs that I could read around this subject? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Re: Understanding how dd works
Thanks for the heads up on this. If the data blocks don't have anything written into them, then what data is written into them when using dd? if I restore the dd image will the blocks then be in the same state i.e unwritten to? Also following on from this if I create a file using dd let's say 2GB, how does the filesystem know that all these blocks belong to the file myfile.img, and where is the information stored to say that a block has data written into it or not? Thanks Dan On Wed, Jun 25, 2008 at 12:48 PM, Chris G <[EMAIL PROTECTED]> wrote: > On Wed, Jun 25, 2008 at 12:27:04PM +0100, Dan Track wrote: >> Hi >> >> I've got a xen vm file called test, if I copy it with dd I get the following >> dd if=/opt/xen/test of=/opt/test-vm.img bs=4096 >> du -s /opt/xen/test = 1934112 >> du -s /opt/test-vm.img = 26240040 >> >> My question is why is the test-vm.img larger in size than the original? >> > Perhaps because the original file is 'sparse', i.e. it has large > unused chunks in it, when originally created these will be unallocated > and use no space, only when written to will the space be allocated. > However when you dd the file it writes everything (including 'nul' > data) to the destination file. > > -- > Chris Green > > -- > fedora-list mailing list > fedora-list@redhat.com > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list > -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Understanding how dd works
Hi I've got a xen vm file called test, if I copy it with dd I get the following dd if=/opt/xen/test of=/opt/test-vm.img bs=4096 du -s /opt/xen/test = 1934112 du -s /opt/test-vm.img = 26240040 My question is why is the test-vm.img larger in size than the original? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Re: Help with understanding whether I have a 64 bit server
Hi Thanks for the reply. Here's what cpu I have: Intel(R) Xeon(R) CPU E5320 @ 1.86GHz If this is a 64bit CPU does that mean I can only install the 64bit version of rhel? Do I need to do anything to the hardware to activate 64bit? Thanks Dan 2008/6/19 TV Sivaraman <[EMAIL PROTECTED]>: > >From the processor info in the bios you can find out whether 64 or 32 bit. > It is rather easy for AMD, they clearly mention it. It is somewhat confusing > for Intel. You google the processor model and find out. > > On Thu, Jun 19, 2008 at 4:32 PM, Dan Track <[EMAIL PROTECTED]> wrote: >> >> Hi >> >> I'm new into the 64 bit world. I've got to install rhel5 but I don't >> know whether my new server supports 64bit or not. Can anyone tell me >> how I could find out? >> >> Thanks >> Dan >> >> -- >> fedora-list mailing list >> fedora-list@redhat.com >> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list > > > > -- > Dr. T. V. Sivaraman, > Lane No. 5, 46A, Ravindrapuri, > VARANASI - 221005. INDIA > Ph. No. 91-542-2276605 > 919451273108 > -- > fedora-list mailing list > fedora-list@redhat.com > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list > -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Xen commands help
Hi I want to install a xen VM, I know I can use the virt-manager, but I prefer not to use GUI's. Can someone please provide me a link to where I can read up on creating VM's from the command line? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Help with understanding whether I have a 64 bit server
Hi I'm new into the 64 bit world. I've got to install rhel5 but I don't know whether my new server supports 64bit or not. Can anyone tell me how I could find out? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list