Re: SwapCache

2011-06-02 Thread Shane
On Thu, 2 Jun 2011 05:43:14 -0700 Dave Czajkowski wrote: > Is there a way to disable or limit the amount of SwapCache? I > understand it's function, but the double allocation of these pages is > causing my low memory alerts to trip. This would imply to me that your triggers are poorly set. Woul

Re: bad entry in fstab

2011-06-02 Thread Mark Post
>>> On 6/2/2011 at 03:21 PM, Scott Rohling wrote: > You also want to make very sure that the system you are on does not have the > same LVM name in use. It's just not worth messing with if it does.. (imo). Which is why having a rescue system around with either no LVM in use, or with different

Re: bad entry in fstab

2011-06-02 Thread Scott Rohling
well - then you have to link all of the disks that are part of the LVM - so rinse and repeat the previous steps. You also want to make very sure that the system you are on does not have the same LVM name in use. It's just not worth messing with if it does.. (imo). But - if you have all the disks l

Re: bad entry in fstab

2011-06-02 Thread Richard Troth
> I made a typo when I added a new logical volume to fstab, ... It's a common and easy mistake. Here's a tip ... before rebooting, if there have been changes to /etc/fstab, then do this: mount -a It will cause the system to [re]examine /etc/fstab and try to mount everything which would

Re: bad entry in fstab

2011-06-02 Thread Aria Bamdad
Bobby, First make sure the problem server is down and logged off to make sure the disks are not linked and are not in use in write mode anywhere else. You don't want to link to a minidisk in write mode from more than one place. So, on SLES 11, you can do this: vmcp link deadserver 201 2201 w pa

Re: bad entry in fstab

2011-06-02 Thread Bauer, Bobby (NIH/CIT) [E]
Thanks Scott, could I ask for the steps for LVM? Bobby Bauer Center for Information Technology National Institutes of Health Bethesda, MD 20892-5628 301-594-7474 -Original Message- From: Scott Rohling [mailto:scott.rohl...@gmail.com] Sent: Thursday, June 02, 2011 2:59 PM To: LINUX-390@

Re: bad entry in fstab

2011-06-02 Thread Scott Rohling
chccwdev -e 2201 (activate it) lsdasd (find out what dasd 2201 is) mount /dev/dasdx1 /mnt This assumes 2201 contains a single filesystem.. if it's part of an LVM, there's more to all this.. Scott Rohling On Thu, Jun 2, 2011 at 12:51 PM, Bauer, Bobby (NIH/CIT) [E] < baue...@mail.nih.gov> wrote

Re: bad entry in fstab

2011-06-02 Thread Bauer, Bobby (NIH/CIT) [E]
Aria, please explain further because I don't know how to do this. First I would: vmcp link servername 201 2201 mw password then what? Bobby Bauer Center for Information Technology National Institutes of Health Bethesda, MD 20892-5628 301-594-7474 -Original Message- From: Aria Bamdad [

Re: bad entry in fstab

2011-06-02 Thread Mauro Souza
I usually don't use sed to remove a line, I make a copy of the file and use "grep -v" to rip the offending line out of existence... It's simpler. mount -o rw,remount / cp /etc/fstab /etc/fstab.1 grep -v 'LogVol08' /etc/fstab.1 > /etc/fstab And you are good to go. Reboot and you can edit the file

Re: bad entry in fstab

2011-06-02 Thread Aria Bamdad
Or just link the VM minidisk with the root file system for this failing system as R/W on an working linux system, let's call that the maintenance system. On the maintenance system, enable and mount that temporary volume. Now you have a fully functional linux system and can use any tool you like to

Re: bad entry in fstab

2011-06-02 Thread Bauer, Bobby (NIH/CIT) [E]
Thanks to everybody for help, especially for the remount command. Never did find a way to send Control-D The sed command worked perfect when I tested it on a running system but would not work from the maintenance mode. I kept getting the "Unterminated `s'" error and it looked like the # was ca

Re: bad entry in fstab

2011-06-02 Thread Scott Rohling
I always keep a copy of the old file when working with Linux on z - for key files like /etc/fstab especially. That way I can issue single command from the 3270 terminal to get things back and not worry about vi/sed/etc. Next time maybe ;-) Scott Rohling On Thu, Jun 2, 2011 at 10:19 AM, Brent K

Re: Oracle on RedHat 6 beta for z

2011-06-02 Thread CHAPLIN, JAMES (CTR)
RHEL 5.6 James Chaplin Systems Programmer, MVS, zVM & zLinux Base Technologies, Inc -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Hughes, Jim Sent: Thursday, June 02, 2011 1:04 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Oracle on RedHat 6 beta f

Re: Oracle on RedHat 6 beta for z

2011-06-02 Thread Hughes, Jim
Wow. What release should I download? Jim Hughes Consulting Systems Programmer Mainframe Technical Support Group Department of Information Technology State of New Hampshire 27 Hazen Drive Concord, NH 03301 603-271-5586Fax 603.271.1516 Statement of Confidentiality: Th

Re: bad entry in fstab

2011-06-02 Thread Brent Kincer
In case you're not using IUCV terminals and don't have access to something like 'vi', just use sed to comment out the offending line and reboot. Would go something like this: mount -o remount,rw / sed -i 's/.*LogVol08.*/#&/g' /etc/fstab shutdown -r now That sed statement will comment out any l

Re: bad entry in fstab

2011-06-02 Thread Marcos V. P. Dib Filho
You can try remounting the filesystem from the shell; mount -o remount,rw,sync -t FS_TYPE DEVICE_NAME MOUNTING_POINT Att, Marcos Dib Filho From: "Bauer, Bobby (NIH/CIT) [E]" To: LINUX-390@vm.marist.edu Date: 06/02/2011 12:57 PM Subject: bad entry in fstab I made a typo when I added a new l

Re: bad entry in fstab

2011-06-02 Thread Bauer, Bobby (NIH/CIT) [E]
Running RHEL V6 under z/VM 5.4 Bobby Bauer Center for Information Technology National Institutes of Health Bethesda, MD 20892-5628 301-594-7474 -Original Message- From: Bauer, Bobby (NIH/CIT) [E] Sent: Thursday, June 02, 2011 11:55 AM To: 'Linux on 390 Port' Subject: bad entry in fstab

Re: bad entry in fstab

2011-06-02 Thread Rogério Soares
do a CTRL+D, you will got a a single user mode,, just correct you /etc/fstab and reboot :) On Thu, Jun 2, 2011 at 12:55 PM, Bauer, Bobby (NIH/CIT) [E] < baue...@mail.nih.gov> wrote: > I made a typo when I added a new logical volume to fstab, I misspelled the > logical volume mane. The reboot f

Re: bad entry in fstab

2011-06-02 Thread Testa, Richard
Just had this happen to me..enter maintenance mode run the following... mount -o remount,rw / edit the fstab and correct the mistake...ipl it and it should work Best Regards Richard Testa OIT-Operation Unix Systems Administrator NH Department of Information Technology 603-271-5460 (w)

bad entry in fstab

2011-06-02 Thread Bauer, Bobby (NIH/CIT) [E]
I made a typo when I added a new logical volume to fstab, I misspelled the logical volume mane. The reboot fails with: [/sbin/fsck.ext4 (1) -- /LAData] fsck.ext4 -a /dev/mapper/vg_labarc-LogVol08 fsck.ext4: No such file or directory while trying to open /dev/mapper/vg_labarc-Lo

Re: Oracle on RedHat 6 beta for z

2011-06-02 Thread Graves, Aaron
I do not believe Oracle is supported yet on RHEL6 on any platform. Aaron -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Hughes, Jim Sent: Thursday, June 02, 2011 11:14 AM To: LINUX-390@VM.MARIST.EDU Subject: Oracle on RedHat 6 beta for z Our Ora

Oracle on RedHat 6 beta for z

2011-06-02 Thread Hughes, Jim
Our Oracle people are getting an error saying Oracle complains about Redhat 6 Beta is not a supported operating system. We are downloading Redhat 6 for z now. Has anyone else discovered this restriction? Jim Hughes Consulting Systems Programmer Mainframe Technical Support

Re: SwapCache

2011-06-02 Thread Rob van der Heij
On Thu, Jun 2, 2011 at 2:43 PM, Dave Czajkowski wrote: > Is there a way to disable or limit the amount of SwapCache?   I understand > it's function, but the double allocation of these pages is causing my low > memory alerts to trip. Your anonymous page becomes swapcache when a copy is written to

[no subject]

2011-06-02 Thread Gregg Levine
On Thu, Jun 2, 2011 at 9:19 AM, Kobus Erwee wrote: > INFO LINUX-390 > > > > > . > > -- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or v

Re: SwapCache

2011-06-02 Thread Ayer, Paul W
We lower the default for the parmvm.swappiness The default is 60 and we mostly set this to 5 now. To see where it's set now; cat /proc/sys/vm/swappiness Change it; echo 5 > /proc/sys/vm/swappiness Update the /etc/sysctl.conf file to keep where you want it ... 20, 5, or

[no subject]

2011-06-02 Thread Kobus Erwee
INFO LINUX-390 . -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---

SwapCache

2011-06-02 Thread Dave Czajkowski
Is there a way to disable or limit the amount of SwapCache? I understand it's function, but the double allocation of these pages is causing my low memory alerts to trip. I can remove the swap copy with a swapoff/swapon. Is there a more elegant way to remove? --