newbie : can i resize an ext3 fs
Hi, I did an install of sles9. when i first did the install, i just created ext3 fs with mount point / and allocated all my disk space to this. Now my fs is getting full. Is there a way to add disk space to the ext3 fs that i created ? I read about LVM . Do i need to setup LVM in order to resize my existing ext3 fs. will i loss any data in the process ? thanks. Caleb -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: newbie : can i resize an ext3 fs
Hi, see this description: http://kbase.redhat.com/faq/FAQ_85_4842.shtm This is on Red Hat, but the procedure should be similar on SLES. regards, Martin On 21/08/07, Caleb C Ong [EMAIL PROTECTED] wrote: Hi, I did an install of sles9. when i first did the install, i just created ext3 fs with mount point / and allocated all my disk space to this. Now my fs is getting full. Is there a way to add disk space to the ext3 fs that i created ? I read about LVM . Do i need to setup LVM in order to resize my existing ext3 fs. will i loss any data in the process ? thanks. Caleb -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Linux and z/VM presentations from SHARE 109
Session 9128 on the website comes up as file is damaged and cannot be repaired. K -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Monday, August 20, 2007 6:12 PM To: LINUX-390@VM.MARIST.EDU Subject: Linux and z/VM presentations from SHARE 109 The first batch of Linux and z/VM presentations from SHARE 109 in San Diego are now up on the linuxvm.org web site. Thanks to all the speakers who went to SHARE and contributed their presentations to the community. You can view them at http://linuxvm.org/present/#share109 SessPresenter Title 9127Mark Post VM for MVS Systems Programmers - Part 1 9128Martha McConaghyVM for MVS Systems Programmers - Part 2 9200Jim Elliott An Introduction to Linux and Open Source 9202Jim Elliott Linux on System z - A Strategic View 9205Mark Post Choose the Wrong Architecture and Waste Millions - A Customer Case Study 9216Rick Troth Extreme File System Sharing - Linux on Read-Only Root at Nationwide 9217Rick Troth Tending the SANity of the Flock - SAN Experiences at Nationwide 9224Mark Post Linux/390 System Management for the Mainframe System Programmer 9233Mark Post Linux Installation Planning 9242Neale Ferguson Linux for Beginners Hands-On Lab 9248Phil Smith III Help! My (Virtual) Penguin Is Sick! 9253Neale Ferguson Basic Linux Scripting Hands-On Lab 9265Chris Rohrbach Total Cost of Ownership (TCO): Comparing System z and Distributed Platforms 9283Rich SmrcinaUsing Hobbit to Monitor Networked Services 9284Phil Smith III How To Turn a Penguin Into a Dog ...or... Things To Do That Will Avoid Linux on z Success Thanks, Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: newbie : can i resize an ext3 fs
Assuming you are running under z/VM: If you have all file systems on the same disk you may want to move one or more directories to their own physical disk. You can use the command du -sk * to get the current size of the files in a directory and its subdirectories. Create a disk of a size that includes room for files and growth, copy the files from the directory to the new disk, mount the new disk at that directory, and erase the old files. (You may need to perform the erasure from another Linux instance. See below.) Modify /etc/fstab so the new disk gets automatically mounted. Directories that are most often split off are /tmp, /usr, /var, and /home. The idea is to keep those file systems that most often fill up from affecting the root ( / ) file system. After you mount the new file system you will not have any extra free space. The old files are still under the mounted file system taking up space. Shut down the problem operating system. Detach the problem disk (or log off). From another Linux instance link to that disk. Mount it at /mnt. Erase all the files and subdirectories under /mnt/var/. Umount the disk and detach it. Log on to the problem system and boot. Your world should be bright and sunny! Some file systems cannot be split from root ( / ). They are needed before the other file systems get mounted. An example is /etc. If this all seems overwhelming, you can just DDR your current disk to a bigger disk, swap the disk virtual addresses, and boot from the new disk. There is a resize2fs command so that will expand the file system so it can use the new space. Others who know more can expand on these notes. Tom Shilson Powered by Penguins Unix Team / IT Server Services Tel: 651-733-7591 tshilson at mmm dot com Fax: 651-736-7689 Linux on 390 Port LINUX-390@VM.MARIST.EDU wrote on 08/21/2007 05:15:23 AM: Hi, I did an install of sles9. when i first did the install, i just created ext3 fs with mount point / and allocated all my disk space to this. Now my fs is getting full. Is there a way to add disk space to the ext3 fs that i created ? I read about LVM . Do i need to setup LVM in order to resize my existing ext3 fs. will i loss any data in the process ? thanks. Caleb -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Linux Network problem using VSWITCH
No real reason Mark. I share my VSWITCH with VM/TCPIP and VSE guests in the other LPAR. I could create another VSWITCH but I think once I put this into production I will be creating a Guest Lan which will host a separate subnet and be protected by a firewall (a student lab scenario) . Hans -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Linux and z/VM presentations from SHARE 109
Kevin, I sometimes get that error as well. I've found that if instead of simply double clicking on the PDF link, you right click on it and then do a safe file as to safe it directly onto your hard drive, you can then open the saved file directly from Adobe Reader OK. HTH. DJ Evans, Kevin R wrote: Session 9128 on the website comes up as file is damaged and cannot be repaired. K -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Monday, August 20, 2007 6:12 PM To: LINUX-390@VM.MARIST.EDU Subject: Linux and z/VM presentations from SHARE 109 The first batch of Linux and z/VM presentations from SHARE 109 in San Diego are now up on the linuxvm.org web site. Thanks to all the speakers who went to SHARE and contributed their presentations to the community. You can view them at http://linuxvm.org/present/#share109 SessPresenter Title 9127Mark Post VM for MVS Systems Programmers - Part 1 9128Martha McConaghyVM for MVS Systems Programmers - Part 2 9200Jim Elliott An Introduction to Linux and Open Source 9202Jim Elliott Linux on System z - A Strategic View 9205Mark Post Choose the Wrong Architecture and Waste Millions - A Customer Case Study 9216Rick Troth Extreme File System Sharing - Linux on Read-Only Root at Nationwide 9217Rick Troth Tending the SANity of the Flock - SAN Experiences at Nationwide 9224Mark Post Linux/390 System Management for the Mainframe System Programmer 9233Mark Post Linux Installation Planning 9242Neale Ferguson Linux for Beginners Hands-On Lab 9248Phil Smith III Help! My (Virtual) Penguin Is Sick! 9253Neale Ferguson Basic Linux Scripting Hands-On Lab 9265Chris Rohrbach Total Cost of Ownership (TCO): Comparing System z and Distributed Platforms 9283Rich SmrcinaUsing Hobbit to Monitor Networked Services 9284Phil Smith III How To Turn a Penguin Into a Dog ...or... Things To Do That Will Avoid Linux on z Success Thanks, Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- DJ V/Soft -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Linux and z/VM presentations from SHARE 109
On Tue, Aug 21, 2007 at 6:55 AM, in message [EMAIL PROTECTED], Evans, Kevin R [EMAIL PROTECTED] wrote: Session 9128 on the website comes up as file is damaged and cannot be repaired. Yes. For whatever reasons, that one, and 9127 were both incomplete. No idea why, but it should be fixed now. Downloads from the web site have the same md5sum as the originals. So, give it another try and let me know if it still is not readable. Thanks for reporting it, Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Linux and z/VM presentations from SHARE 109
Hi Mark, Hmmm, I had no problem pulling up 9127 earlier or now. But 9128 still shows me the same message as before. Dave Jones (I think) suggested earlier that trying to rt click and save as would work. Tried that also, still no go. Thanks for the prompt response. Kevin -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Tuesday, August 21, 2007 11:05 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Linux and z/VM presentations from SHARE 109 On Tue, Aug 21, 2007 at 6:55 AM, in message [EMAIL PROTECTED], Evans, Kevin R [EMAIL PROTECTED] wrote: Session 9128 on the website comes up as file is damaged and cannot be repaired. Yes. For whatever reasons, that one, and 9127 were both incomplete. No idea why, but it should be fixed now. Downloads from the web site have the same md5sum as the originals. So, give it another try and let me know if it still is not readable. Thanks for reporting it, Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Linux and z/VM presentations from SHARE 109
Indeed, in Firefox on Linux with Acrobat Reader 9 I get: File does not begin with '%PDF-' Evans, Kevin R wrote: Hi Mark, Hmmm, I had no problem pulling up 9127 earlier or now. But 9128 still shows me the same message as before. Dave Jones (I think) suggested earlier that trying to rt click and save as would work. Tried that also, still no go. Thanks for the prompt response. Kevin -- Rich Smrcina VM Assist, Inc. Phone: 414-491-6001 Ans Service: 360-715-2467 rich.smrcina at vmassist.com http://www.linkedin.com/in/richsmrcina Catch the WAVV! http://www.wavv.org WAVV 2008 - Chattanooga - April 18-22, 2008 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Linux and z/VM presentations from SHARE 109
On Tue, Aug 21, 2007 at 11:25 AM, in message [EMAIL PROTECTED], Evans, Kevin R [EMAIL PROTECTED] wrote: Hi Mark, Hmmm, I had no problem pulling up 9127 earlier or now. But 9128 still shows me the same message as before. Your browser (or company proxy) may be caching the old copy. Try using wget or curl to download it. The md5 checksum should be 13c62054434d2cc4743fb3f51d3c7594, and the length should be 735874. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: newbie : can i resize an ext3 fs
On Tue, Aug 21, 2007 at 6:15 AM, in message [EMAIL PROTECTED], Caleb C Ong [EMAIL PROTECTED] wrote: Hi, I did an install of sles9. when i first did the install, i just created ext3 fs with mount point / and allocated all my disk space to this. Now my fs is getting full. This has always been Linux for System z question 1 after a successful install. Is there a way to add disk space to the ext3 fs that i created ? I read about LVM . Do i need to setup LVM in order to resize my existing ext3 fs. will i loss any data in the process ? You don't have to use LVM, but it's what I usually recommend. Just _don't_ use it for your root file system. (Other people disagree with this warning.) Add one or more DASD volumes to your system. If you don't want to use LVM, just break out /usr (since that is likely what is taking up the most space) by following the directions at http://linuxvm.org/Info/HOWTOs/movefs.html If you do want to use LVM, follow the general flow of Chapter 17, section 2 onward of the Linux for IBM eServer zSeries and S/390: Distributions, SG24-6264-00 Redbook at http://www.redbooks.ibm.com/abstracts/sg246264.html _Then_ follow the directions of the HOWTO to move /usr onto an LVM Logical Volume (LV). Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: newbie : can i resize an ext3 fs
On Tue, Aug 21, 2007 at 6:15 AM, in message [EMAIL PROTECTED], Caleb C Ong [EMAIL PROTECTED] wrote: -snip- ext3 fs. will i loss any data in the process ? Sorry, forgot to address this point. No, you won't lose any data if you follow the movefs HOWTO. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Linux Network problem using VSWITCH
On Tue, Aug 21, 2007 at 10:05 AM, in message [EMAIL PROTECTED], Hans Rempel [EMAIL PROTECTED] wrote: No real reason Mark. I share my VSWITCH with VM/TCPIP and VSE guests in the other LPAR. I could create another VSWITCH but I think once I put this into production I will be creating a Guest Lan which will host a separate subnet and be protected by a firewall (a student lab scenario) . My concern was the routing that might be going on. You say you can ping your Linux guests from outside the z/VM system. Do you know if those pings are going through z/VM's TCP/IP first? (traceroute -n will tell you.) Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Linux and z/VM presentations from SHARE 109
Well, don't get access to wget or curl on this unclassified PCthat talks to the outside world. The other PC (classified) doesn't talk to the outside world. Sigh. However, I used shift/click on IE on 9128 and it grabbed it this time. Thanks. Kevin -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Tuesday, August 21, 2007 11:38 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Linux and z/VM presentations from SHARE 109 On Tue, Aug 21, 2007 at 11:25 AM, in message [EMAIL PROTECTED], Evans, Kevin R [EMAIL PROTECTED] wrote: Hi Mark, Hmmm, I had no problem pulling up 9127 earlier or now. But 9128 still shows me the same message as before. Your browser (or company proxy) may be caching the old copy. Try using wget or curl to download it. The md5 checksum should be 13c62054434d2cc4743fb3f51d3c7594, and the length should be 735874. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
More Linux and z/VM presentations from SHARE 109
Cross-posted to Linux-390, IBMVM and IBM-MAIN The second batch of Linux and z/VM presentations from SHARE 109 in San Diego are now up on the linuxvm.org web site. There were some reports of corrupted files from the first batch. I downloaded everything, and re-uploaded anything that didn't match the source file. The same has been done for this batch as well. If you're still having problems accessing a particular presentation, try wget, curl, whatever to see if that corrects things. You can view them at http://linuxvm.org/present/#share109 SessPresenter Title 9110Romney Whitez/VM Live Guest Migration 9111Romney WhiteUsing New CP Features in z/VM 5.3 9150Jay Brenneman CSE For High Availability and System Management 9240Jay Brenneman Linux on z/VM System Programmer Survival Guide Thanks, Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Suse 10: Yast problem
I'm running SLES 10 with SP1 and using Putty. Yast Network Services SLP Server Show Log Now the log is displayed. Great, now how do you exit it? Enter doesn't work. Tab doesn't do anything. Esc doesn't do anything. The only thing that works, is to close out Putty and start over. There must be a better way that I don't know (yet). Thanks Tom Duerbusch THD Consulting -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Missing OSA/2 Interfaces
Mark, Would that I could. With the network interfaces down, my only access to the Linux system is via the HMC. And we had a UPS fail last night (physically, some part went out), and the HMC is 'Toast' at the present time. At this time, the CE is not sure what he will have to do to fix it. He mentioned something about having to reload it, or maybe replace the System board, or maybe replace the HMC? However, as soon as the HMC comes back up, I'll run your commands, and send on the output. Hmm, I don't think the HMC has 'Cut Paste'... Dave Dave Stuart Prin. Info. Systems Support Analyst County of Ventura, CA 805-662-6731 [EMAIL PROTECTED] Mark Post [EMAIL PROTECTED] 8/20/2007 7:22 PM On Mon, Aug 20, 2007 at 7:19 PM, in message [EMAIL PROTECTED], David Stuart [EMAIL PROTECTED] wrote: -snip- I was running out of space on '/', so I followed the procedure to move part of a file system to another volume. I successfully moved /usr to a new volume. It mounted successfully, so I updated /etc/fstab following the procedure. All was good. So I shut down and rebooted. During reboot, there are messages to the HMC about waiting for required device and has the OSA device numbers in the message. The after a few seconds a message comes out 'Network interfaces not found', and boot continues. The OSA interfaces appear completely dead from the 'outside'. The physical OSA ports are working just fine (shared with other LPARs). Linux is SLES 9 SP3 running in an LPAR on a 9672. Ideas? Send me the output from the following commands (off-list please): lsmod hwinfo ifconfig -a grep . /etc/sysconfig/network/ifcfg-qeth-bus-ccw ls -lR /sys/devices/qeth/ Also, what happens when you modprobe qeth and dmesg | tail -n 30 ? Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
GDPS/XRC
Hi Listers. We are in the planning stages of implementing GDPS/XRC. We have z/OS, z/VM, and Linux on zSeries (running as guests on z/VM). z/VM is at 5.3 installed on CKD. Linux is SLES9 SP3 installed on CKD and SCSI. CKD for / (root) and SCSI for user data. The SCSI is via EDEV. From what I've read it appears that Linux for zSeries is supported by XRC (on CKD - which means I'll need to convert off SCSI), but I can't quite determine if z/VM is supported. I've searched the LISTSERV archives and found where folks have been discussing this very issue...but I'm still unsure about z/VM. If z/VM isn't supported, must the Linux volumes be dedicated to the guest? Any information (pitfalls, success stories), on this is greatly appreciated!I posted this on the IBMVM Listserv, but also wanted to get a Linux perspective. TIA, susan -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Single user mode and root password
Hi All, In the virtualization cookbooks for RHEL 4 and 5, it says in single user mode, you are logged in as the root user and all of the file systems in /etc/fstab are mounted. This has not been my experience and I am trying to determine why. None of my SLES 9 or RHEL AS 4 systems go into single user mode without prompting for the root password. I have verified that the TERMINAL LINEND character is set when issuing the VI VMSG response. I have been told that the prompt indicates an error in /etc/fstab or a startup problem. If I boot into another state ( 3 or 5 ), there is no indication of /etc/fstab problems. Checking dmesg, I can't see any errors. Any other suggestions for debugging this problem, please? Betsie (the clueless) -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Single user mode and root password
In single user mode for SUSE you are logged in as the root user however that is not true with RedHat. To start single user mode in RedHat you need to know the root password. A real PITA. Linux on 390 Port LINUX-390@VM.MARIST.EDU wrote: Hi All, In the virtualization cookbooks for RHEL 4 and 5, it says in single user mode, you are logged in as the root user and all of the file systems in /etc/fstab are mounted. This has not been my experience and I am trying to determine why. None of my SLES 9 or RHEL AS 4 systems go into single user mode without prompting for the root password. I have verified that the TERMINAL LINEND character is set when issuing the VI VMSG response. I have been told that the prompt indicates an error in /etc/fstab or a startup problem. If I boot into another state ( 3 or 5 ), there is no indication of /etc/fstab problems. Checking dmesg, I can't see any errors. Any other suggestions for debugging this problem, please? Betsie (the clueless) In single user mode for SUSE you are logged in as the root user however that is not true with RedHat. To start single user mode in RedHat you need to know the root password. A real PITA. -- Bill Dodge email: [EMAIL PROTECTED] Phone: (703)627-2455 If you don't know where you are going, any road will take you there. Lewis Carroll If you don't know where you are, a map won't help Unknown -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Suse 10: Yast problem
On Tue, Aug 21, 2007 at 2:19 PM, in message [EMAIL PROTECTED], Tom Duerbusch [EMAIL PROTECTED] wrote: -snip- Now the log is displayed. Great, now how do you exit it? Enter doesn't work. Tab doesn't do anything. Not sure what to tell you. My gnome-terminal session to a SLES10 system works just fine when I tab to the close button and hit enter. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Single user mode and root password
On Tue, Aug 21, 2007 at 3:21 PM, in message [EMAIL PROTECTED], Bill Dodge [EMAIL PROTECTED] wrote: In single user mode for SUSE you are logged in as the root user however that is not true with RedHat. To start single user mode in RedHat you need to know the root password. A real PITA. SLES10: # telinit S -snip- Sending all processes the TERM signal... ..done Sending all processes the KILL signal... ..done Master Resource Control: runlevel S has been reached Give root password for login: Looks the same to me. Same results for telinit 1 as well. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Missing OSA/2 Interfaces
On Tue, Aug 21, 2007 at 2:07 PM, in message [EMAIL PROTECTED], David Stuart [EMAIL PROTECTED] wrote: -snip- However, as soon as the HMC comes back up, I'll run your commands, and send on the output. Hmm, I don't think the HMC has 'Cut Paste'... I could have sworn that during the Redbook residency that we used some facility on the HMC to write screen contents into a file that we could subsequently transfer off to a PC. Mike? Anyone? Am I right, or is my memory failing? Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Single user mode and root password
SLES10: # telinit S -snip- Sending all processes the TERM signal... ..done Sending all processes the KILL signal... ..done Master Resource Control: runlevel S has been reached Give root password for login: Looks the same to me. Same results for telinit 1 as well. Mark Post Ah! SLES 10! The last time I did it was SLES 7. :-) RedHat added the root password requirement sometime after AS 3 (which would probably have been RHEL 3 also). I can still single user mode without a root password on the RedHat used by Symantec's mail gateway which we think is AS or ES 3. -- Bill Dodge email: [EMAIL PROTECTED] Phone: (703)627-2455 If you don't know where you are going, any road will take you there. Lewis Carroll If you don't know where you are, a map won't help Unknown -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Single user mode and root password
Both a Red Hat zLinux tech and an IBM zLinux tech told me otherwise. -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Bill Dodge Sent: Tuesday, August 21, 2007 12:21 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Single user mode and root password In single user mode for SUSE you are logged in as the root user however that is not true with RedHat. To start single user mode in RedHat you need to know the root password. A real PITA. Linux on 390 Port LINUX-390@VM.MARIST.EDU wrote: Hi All, In the virtualization cookbooks for RHEL 4 and 5, it says in single user mode, you are logged in as the root user and all of the file systems in /etc/fstab are mounted. This has not been my experience and I am trying to determine why. None of my SLES 9 or RHEL AS 4 systems go into single user mode without prompting for the root password. I have verified that the TERMINAL LINEND character is set when issuing the VI VMSG response. I have been told that the prompt indicates an error in /etc/fstab or a startup problem. If I boot into another state ( 3 or 5 ), there is no indication of /etc/fstab problems. Checking dmesg, I can't see any errors. Any other suggestions for debugging this problem, please? Betsie (the clueless) In single user mode for SUSE you are logged in as the root user however that is not true with RedHat. To start single user mode in RedHat you need to know the root password. A real PITA. -- Bill Dodge email: [EMAIL PROTECTED] Phone: (703)627-2455 If you don't know where you are going, any road will take you there. Lewis Carroll If you don't know where you are, a map won't help Unknown -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Single user mode and root password
On Tue, Aug 21, 2007 at 4:09 PM, in message [EMAIL PROTECTED], Bill Dodge [EMAIL PROTECTED] wrote: -snip- Ah! SLES 10! The last time I did it was SLES 7. :-) Betsie was right, SLES9 as well. Even Slackware does this now. It's controlled by what's in /etc/inittab, if anyone is interested in modifying that. You too can make your system (somewhat) less secure. :) Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Single user mode and root password
On 8/21/07, Mark Post [EMAIL PROTECTED] wrote: On Tue, Aug 21, 2007 at 4:09 PM, in message [EMAIL PROTECTED], Bill Dodge [EMAIL PROTECTED] wrote: -snip- Ah! SLES 10! The last time I did it was SLES 7. :-) Betsie was right, SLES9 as well. Even Slackware does this now. It's controlled by what's in /etc/inittab, if anyone is interested in modifying that. You too can make your system (somewhat) less secure. :) Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 Hello! Mark is right. That's what happens on this fellow, he's running Slackware 11.0 (Intel) with the usual cluster of security stuff, and some options from other sources. Ideally it should be documented in an easy to understand format someplace. Consider what happened when a fellow member saw his system go through the classic fsck function. If the system discovered a really outrageous problem that itself could not repair it would drop into single user mode and invite that user to enter the root password and follow the listed there steps to repair the damage if possible. Incidentally Mark the advice both you and David B provided concerning those problems were spot-on and exactly what I would have done if I saw it first, and more importantly, knew what to post and how to post it. -- Gregg C Levine [EMAIL PROTECTED] This signature was once found posting rude messages in English in the Moscow subway. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Single user mode and root password
On Tue, Aug 21, 2007 at 2:47 PM, in message [EMAIL PROTECTED], Spann, Elizebeth (Betsie) [EMAIL PROTECTED] wrote: Hi All, In the virtualization cookbooks for RHEL 4 and 5, it says in single user mode, you are logged in as the root user and all of the file systems in /etc/fstab are mounted. This has not been my experience and I am trying to determine why. -snip- I would say that's a doc APAR in the making. Mike? Betsie (the clueless) Hardly clueless. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Suse 10: Yast problem
tab to close button I don't have a close button. Just tried it again. Still no button. That is with Putty with the standard 24X80 window size. In this case, the log window is almost the same size as the yast window. No button shown. However, if, before I toggle the show log button, I put Putty in full screen mode, and then toggle the show log button, I see: The log window is within a second window, which is within the Putty/yast window. With the default size, the log window is almost the same size as the Putty/yast window. The second window seems to be autosized down to fit within the Putty/yast window which cuts off the close button. Once I'm in the log, resizing the Putty/yast session to full screen, doesn't seem to help. The second window doesn't seem to be dynamically resized. It seems that you need to have a larger than 24X80 session going before you do the show log. Also, unexpectedly, when I'm in this problem, PF9 will get me out. I had no idea Linux looked at PF keys, cared about PF keys, or had any sense that PF keys exist. I don't see anywhere where Putty might have PF keys mapped to something. PF1 (help) sure doesn't work. Anyway, interesting side tangent. Back to my main tangent. Tom Duerbusch THD Consulting Mark Post [EMAIL PROTECTED] 8/21/2007 2:34 PM On Tue, Aug 21, 2007 at 2:19 PM, in message [EMAIL PROTECTED], Tom Duerbusch [EMAIL PROTECTED] wrote: -snip- Now the log is displayed. Great, now how do you exit it? Enter doesn't work. Tab doesn't do anything. Not sure what to tell you. My gnome-terminal session to a SLES10 system works just fine when I tab to the close button and hit enter. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Suse 10: Yast problem
Tom said: That is with Putty with the standard 24X80 window size. Try stretching to 25 lines. A lot of PC Linux apps assume there is a 25th line. (Not that I recall if YaST does, just that some do.) -- R; -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Single user mode and root password
On Tue, 21 Aug 2007, Mark Post wrote: Master Resource Control: runlevel S has been reached Give root password for login: Looks the same to me. Same results for telinit 1 as well. possibly a bootloader password. that is not the customary login password prompt challenge. -- Russ Herrold -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Single user mode and root password
On 8/21/07, Mark Post [EMAIL PROTECTED] wrote: It's controlled by what's in /etc/inittab, if anyone is interested in modifying that. You too can make your system (somewhat) less secure. :) I beg to differ... I believe that not having a Linux root password at all (but using cryptic keys) is more secure. And when you don't have a root password, you don't want to get prompted for it either. Apart from the inittab, I recall something in the boot scripts (around fsck) also needed to be fixed. And for the case where you can not decode the keys, using RACF to control access to the virtual machine console works nice. Rob -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Single user mode and root password
On Tue, Aug 21, 2007 at 5:08 PM, in message [EMAIL PROTECTED], R P Herrold [EMAIL PROTECTED] wrote: On Tue, 21 Aug 2007, Mark Post wrote: Master Resource Control: runlevel S has been reached Give root password for login: Looks the same to me. Same results for telinit 1 as well. possibly a bootloader password. that is not the customary login password prompt challenge. No, that wasn't a prompt for a boot loader password. No such thing exists on mainframe Linux. (Or if it does, and no one told me, I certainly haven't turned it on.) That was from the 3215 console after issuing the telinit command. It comes from /sbin/sulogin, which is what is invoked via /etc/inittab in single user mode: # what to do in single-user mode ls:S:wait:/etc/init.d/rc S ~~:S:respawn:/sbin/sulogin Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
PC File Transfer to Linux Server
Hi, We are running several Linux servers on a VSE/ESA mainframe using Linux 8.2 and VSE 2.6.3. I would like to take a file on a PC or network drive and using a batch VSE job transfer it to a Linux server. Does anyone have an easy way to set up this routine? I am currently running Windows 2000 on the PC that contains the file. It has to be setup in VSE batch mode for computer operations. Please help if possible. Thanks! -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Suse 10: Yast problem
Also, unexpectedly, when I'm in this problem, PF9 will get me out. I had no idea Linux looked at PF keys, cared about PF keys, or had any sense that PF keys exist. I don't see anywhere where Putty might have PF keys mapped to something. PF1 (help) sure doesn't work. Function keys in the ASCII world send inband key sequences. The most widely accepted terminals (DEC VTxxx and ANSI X3.64) have a number of predefined function keys (and most other terminal vendors provide some function keys). Applications can accept any key sequence they want, thus if the application wants to accept function keys, it can. The Unix command interpreter is a application, and some command interpreters do understand them (which is why bash allows using arrow keys to scroll back and forward in command history). Putty lets you do key to function mapping. This option affects the function keys (F1 to F12) and the top row of the numeric keypad. * In the default mode, labelled ESC [n~, the function keys generate sequences like ESC [11~, ESC [12~ and so on. This matches the general behaviour of Digital's terminals. * In Linux mode, F6 to F12 behave just like the default mode, but F1 to F5 generate ESC [[A through to ESC [[E. This mimics the Linux virtual console. * In Xterm R6 mode, F5 to F12 behave like the default mode, but F1 to F4 generate ESC OP through to ESC OS , which are the sequences produced by the top row of the keypad on Digital's terminals. * In VT400 mode, all the function keys behave like the default mode, but the actual top row of the numeric keypad generates ESC OP through to ESC OS. * In VT100+ mode, the function keys generate ESC OP through to ESC O[ * In SCO mode, the function keys F1 to F12 generate ESC [M through to ESC [X. Together with shift, they generate ESC [Y through to ESC [j. With control they generate ESC [k through to ESC [v, and with shift and control together they generate ESC [w through to ESC [{. If you don't know what any of this means, you probably don't need to fiddle with it. It really matters for VMS, though...8-) If you get stuck, try ESC 3. The 7171 default keymap lives. 8-) -- db -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: PC File Transfer to Linux Server
There's an NJE option that would allow job submission and output transmission to/from Linux z/VSE: http://www.barnardsoftware.com/ftp/nje/njeipbridge-fs.pdf On Tue, 2007-08-21 at 17:25 -0400, [EMAIL PROTECTED] wrote: Hi, We are running several Linux servers on a VSE/ESA mainframe using Linux 8.2 and VSE 2.6.3. I would like to take a file on a PC or network drive and using a batch VSE job transfer it to a Linux server. Does anyone have an easy way to set up this routine? I am currently running Windows 2000 on the PC that contains the file. It has to be setup in VSE batch mode for computer operations. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: PC File Transfer to Linux Server
Can't get there from here G. If you have a PC file, you can ftp from the PC to Linux. If you want VSE to automagically do things, you need to run a FTP server on your PC (for a file on a PC drive or a currently mounted network drive), (or on your network for files on your network drives (mounted or not)). But, a VSE FTP job (as a client) to any FTP server, follows: (this is a DSM file, a competitor to Dynam/D) // DLBL DSMFILE,'ACCTFIL1' // EXTENT SYS001,DT3390,1,0,1,1 // EXEC FTPBATCH,SIZE=256K,PARM='IP=xxx.xxx.xxx.xxx' (happens to be a VM server) MAINT x TOMD xxx CD VMSYSU:DOSESA2. EBCDIC LSITE LRECL 80 LDIR PUT %DSMFILE,SAM,FB,080,2000 GLEN.TEST (REPLACE QUIT Tom Duerbusch THD Consulting [EMAIL PROTECTED] 8/21/2007 4:25 PM Hi, We are running several Linux servers on a VSE/ESA mainframe using Linux 8.2 and VSE 2.6.3. I would like to take a file on a PC or network drive and using a batch VSE job transfer it to a Linux server. Does anyone have an easy way to set up this routine? I am currently running Windows 2000 on the PC that contains the file. It has to be setup in VSE batch mode for computer operations. Please help if possible. Thanks! -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: PC File Transfer to Linux Server
I would like to take a file on a PC or network drive and using a batch VSE job transfer it to a Linux server. Does anyone have an easy way to set up this routine? I am currently running Windows 2000 on the PC that contains the file. It has to be setup in VSE batch mode for computer operations. There's a bunch of ways to do this. Here's one: Install Samba on the Linux guest. Write a small script that does a 'mount -T smbfs' for the Windows drive and then uses the Linux cp command to copy the file from the SMB drive, then unmounts the Windows drive. The script will need to specify the Windows machine, the location, and login credentials for the Windows machine. Once you have that, use the VSE TCPIP REXEC support to remotely execute the script on the Linux system -- then you can schedule it in VSE, and you get valid return codes, etc. If you can't use REXEC for security reasons, get a copy of BSI's NJE Bridge and use the RJE support for Linux in it. VSE sees it as another node, and you can send the Linux system a script to run, and it'll run it and send the results back to VSE. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Linux Network problem using VSWITCH
The TCPIP userid is not the controller as David mentioned. Mark. I will not be able to try the Traceroute until I get back into the office on Monday. In the past I used TCPIP as a router but with the vswitch I moved away from that practice. It almost appears as if the Linux guests pick up the ping (worked with the TCPIP userid) but do negotiate their mac addresses ( ARP tables may not be updated?). Not sure if I used the correct terms here. Hans -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390