With memory hotplug, the removal of hot-plugged memory is also condition on
there not being and unmovable memory pages within the memory region that
you're trying to remove - with it returning an EBUSY error if it is not
presently able to offline that region.
From the memory-hotplug.txt in the
...of course, the same file says that the removable flag in sysfs should
only be one when every memory segment in the block is removable, so it's
possible this is a bug in the reporting of the removability of that memory.
On Fri, Dec 6, 2013 at 10:24 PM, Christian Paro christian.p
Crazy thought...
...you could create a Linux LPAR or VM that manages a large LVM pool with
thin-provisioned volumes, and export these volumes as filesystems over NFS
or as block devices with AoE.
Then you could build your thin Linux VM guests with a small boot volume
(possibly even a read-only
as a remote virtual block device (or file
system, or object store) in the first place.
On Fri, Dec 6, 2013 at 10:38 PM, Christian Paro christian.p...@gmail.comwrote:
Crazy thought...
...you could create a Linux LPAR or VM that manages a large LVM pool with
thin-provisioned volumes, and export
I would add that in Bash, you need to watch for the change in regex-quoting
behavior between version 3.1 and 3.2:
http://stackoverflow.com/questions/218156/bash-regex-with-quotes
...if you are writing scripts that need to support both older and newer
versions of Bash, though, you can use the
Just a guess here, but maybe the s390x kernel for SLES 11 SP1 was compiled
with CONFIG_PRINTK_TIME disabled, while the x86-64 kernel had the same
option enabled?
I do see those time-offset numbers at the beginning of output from other
kernels on s390x, so I don't think it's a difference inherent
Of course, if you don't need the time stamps for early boot, you can turn
them on at runtime through the /sys filesystem:
http://elinux.org/Debugging_by_printing#Printk_Timestamps
On Fri, Apr 20, 2012 at 4:57 PM, Christian Paro christian.p...@gmail.comwrote:
Just a guess here, but maybe
The fdasd partitioning tool only alters the disk's partition table, which
is outside of the partition being resized - making it suitable for
extending a partition (assuming there is free formatted space after it) or
shrinking a partition (assuming you have already shrunk the filesystem
within it).
Assuming there's free space following your existing partition, you can use
fdasd to increase the partition size (just make sure you keep the same
starting cylinder), and then resize your filesystem with resize2fs after
the partition has been extended.
On Wed, Mar 28, 2012 at 10:50 AM, Florian
PM, Christian Paro christian.p...@gmail.com
wrote:
Assuming there's free space following your existing partition, you can
use
fdasd to increase the partition size (just make sure you keep the same
starting cylinder), and then resize your filesystem with resize2fs after
the partition has
Might you mean Gentoo? http://dev.gentoo.org/~vapier/s390/
On Fri, Jan 27, 2012 at 3:04 PM, John Campbell soup...@gmail.com wrote:
Cameron Seay wrote:
What would I have to do to get a distro to run on z/VM? I want to run
Scientific Linux, but there does not appear to be a version for VM.
As far as those separately-invoked tools are concerned, you're looking for
`yum` as the Redhat equivalent to YAST for software package management, and
`system-config-*` for the other kinds of configuration that you could
access through YAST on SuSE.
Redhat's approach does, in my experience,
Have you tries using the `cio_ignore` command to make sure the channels
your tapes are attached to aren't blacklisted?
For example:
cio_ignore -r 1500
Your tape drives may currently be masked from being detected. For more info
on cio_ignore, see What's new in RHEL 6 for Linux on System
If all you want is a convenient way to (securely) mount a remote Linux file
system to edit files (or copy them to a local location to edit them
off-line), then there are two very easy ways to do that:
For a Linux client, SSHFS: http://fuse.sourceforge.net/sshfs.html
For Windows client, WinSCP:
You can use SWAPGEN if you're IPLing CMS before Linux, or (if you prefer an
all-Linux solution) use an init script to perform the mkswap and swapon the
disks (rather than putting them in /etc/fstab).
On Wed, Oct 5, 2011 at 3:30 PM, Dean, David (I/S) david_d...@bcbst.comwrote:
Rob, thanks, but I
Is this for a program or fstab entry which is expecting that disk to always
appear at /dev/dasdp?
Because if you can edit your source, it would be safer to refer to your
disks by path (such as /dev/disk/by-path/ccw-0.0.0154) rather than by their
dasd[a-z][a-z]* names. The path will always
On the readlink example, the $ indicates a variable. So in a script you
could set vdev='015f' and then reference that value as ${vdev}. Or you could
just hard code in the 015f.
...also note that the by-path disk nodes always zero-pad the beginning of a
virtual device number, so it'll be four
5, 2011 at 7:14 PM, Rob van der Heij rvdh...@gmail.com wrote:
On Fri, Aug 5, 2011 at 8:55 PM, Christian Paro christian.p...@gmail.com
wrote:
...also setting swap priorities such that your (fast) VDisk swap space
will
be used before any TDisk swap space is used, and your TDisk swap space
FWIW, if you use an init scrit rather than SWAPGEN to handle swap creation
on VDisk, this also frees you from having to IPL CMS prior to booting Linux
- shaving a little time off of the boot process.
It also allows you to easily use one script for all your systems while
defining different
. In my limitted experience, I can always manually add a V6
address. No reboot.
-- R;
Rick Troth
Velocity Software
http://www.velocitysoftware.com/
On Wed, May 4, 2011 at 12:06, Christian Paro christian.p...@gmail.com
wrote:
It is possible on RHEL systems to disable IPv6
-2 VSwitches and GuestLANs. Layer-3
VSwitches are documented as IPv4 only:
http://www.vm.ibm.com/networking/ipv6/ipv6tabl.html
On Thu, May 5, 2011 at 2:14 PM, Mark Post mp...@novell.com wrote:
On 5/5/2011 at 12:49 PM, Christian Paro christian.p...@gmail.com
wrote:
-snip-
Putting the ipv6
It is possible on RHEL systems to disable IPv6 autoconfiguration either
system-wide (in /etc/sysconfig/network) or or specific interface (in that
interface's /etc/sysconfig/network-scripts/ifcfg-* file) using the
IPV6_AUTOCONF=[yes/no] statement.
I have been looking for an equivalent mechanism in
Yes.
chccwdev -e [the new disk's virtual device address]
lsdasd
...the first will bring the disk online, the second will show you the device
address it is attached to (in case you're using the /dev/dasd[a-z]* paths
instead of something like /dev/disk/by-path/ccw-0.0.[vdev])
On Thu, Apr 21,
A full set of benchmarks for different disk technologies with z/VM:
http://www.vm.ibm.com/perf/reports/zvm/html/520dasd.html
On Fri, Mar 11, 2011 at 12:57 PM, Donald Russell russell@gmail.comwrote:
I currently have a dozen or so RHEL 5.6 zLinux running on multiple VM 6.1
(well, 5, but 6.1
What do you get from:
lsdasd
file -s /dev/disk/by-path/ccw-0.0.020e
file -s /dev/disk/by-path/ccw-0.0.020e-part1
On Wed, Mar 9, 2011 at 1:24 PM, Gary Detro de...@us.ibm.com wrote:
Sorry I didn't make it clear the 20f and 20e are not he same disk.
link linux73 201 20f mr
link linux77 201
A system can only have one default interface. But it should only be falling
back to default when one of the more specific routes have not been met.
So if I have a system like this:
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
9.1.2.3 * 255.255.255.128 U
Insurance Company of
TennesseeSM and The MEGA Life and Health Insurance Company.SM
-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On
Behalf Of Christian Paro
Sent: Thursday, March 03, 2011 2:01 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Using 2 NIC
...@linux.vnet.ibm.comwrote:
Not encouraging to make procedures dependent on vswitch names,
just sharing info on how to obtain base info within Linux itself.
On 01/19/2011 09:02 PM, Christian Paro wrote:
#!/bin/bash
### BEGIN SCRIPT: getswitchname ###
function getVSwitch {
local iface=$1
You can get the information you need indirectly, at least.
The udev configuration in /etc/udev/rules.d records the correlation between
virtual device numbers (line 0600) and Linux network interface names (like
eth0), and the virtual device number corresponding to your network
interface can be
Have you seen this?:
http://www.vm.ibm.com/education/lvc/lvc1020c.pdf
...I've only used this method on SLES so far- but the approach in that
presentation (see p. 14 for adding a SCSI device to the live configuration,
p.17 for persisting this in your configuration files) is based on
s390-tools,
Difference is that ext3 is prepared to fall back to ext2 functionality when
being read from a read-only device - which makes perfect sense, given that
the journal's purpose is to protect the integrity of writes and (as Mark
pointed out) it is of no value on a disk which will never again be written
Reiserfs simply won't work if the disk you're trying to use it on is
read-only - even when you attempt to mount the volume read-only, it expects
read/write access to its journal and panics if it doesn't get it. So far as
I could tell when I ran into this issue, there is no way to configure around
I'm not sure single-user mode will help you here. According to RedHat,
single-user mode isn't appropriate for situations where you aren't able to
successfully mount your file systems:
http://www.mail-archive.com/linux-390@vm.marist.edu/msg53768.html
On Fri, Jun 11, 2010 at 10:26 AM, pavan kumar pavankumar...@yahoo.comwrote:
Hi
This is Pavan
I'm trying to update my SLES 11 kernel but get a failed dependency for
module-init-tools_fix_bnc480524 which I can't find anywhere.
I don't know what school the OP goes to, but perhaps he should be looking
into this:
http://www.ibm.com/developerworks/university/systemz/index.html
http://www.ibm.com/developerworks/university/systemz/index.htmlCertainly,
he'd be better off - practically as well as legally - learning on the
What do you see when you do `modprobe vmcp; vmcp q v dasd` and `lsdasd`?
Also, did you do a full log-off/log-on of the guest after adding the disk to
its directory statement? A complete log-off and log-on is necessary to make
the guest's runtime state reflect the changes made to the directory,
ljmace1...@yahoo.com wrote:
Yes I logged off,pn,then even rebooted
I did an lsdasd but 207(the new dasd) isnt shown
Thx
Mace
On Thu Jun 3rd, 2010 9:56 AM EDT Christian Paro wrote:
What do you see when you do `modprobe vmcp; vmcp q v dasd` and `lsdasd`?
Also, did you do a full log-off/log
You could do something like this after extracting the archive:
#/bin/bash
mkdir ../ascii
SAVEIFS=$IFS
IFS=$(echo -en \n\b);
for file in $(find .); do
dd if=$file of=../ascii/$file conv=ascii
done
FS=$SAVEIFS
...and then you'll have another directory containing EBCDIC-to-ASCII
converted copied
Example for adding a repository with zypper:
`zypper addrepo --refresh nfs://192.168.0.1/nfs/sles11sp1/dvd1SLES11SP1DVD1`
Example for removing a repository:
`zypper removerepo nfs://192.168.0.1/nfs/sles11sp1/dvd1`
On Mon, May 10, 2010 at 8:49 AM, Michael MacIsaac mike...@us.ibm.comwrote:
Hi
I've noticed that, when a disk (or set of disks) containing the physical
extents underlying an LVM volume group is set online with `chccwdev -e`
under SLES 11, that volume group is also automatically activated - setting
the open count for those disks to 2 and preventing such operations as a
I believe that for SLES 11 zipl.conf is no longer used to determine which
dasd to online at boot. Instead, however, you can run `dasd_configure
0.0.0210 1` before you run mkinitrd and zipl, and the specified disk should
be set online and come back online on subsequent boots.
On Mon, Mar 29, 2010
: Linux on 390 Port [linux-...@vm.marist.edu] On Behalf Of Christian
Paro [christian.p...@gmail.com]
Sent: Monday, March 29, 2010 15:29
To: LINUX-390@VM.MARIST.EDU
Subject: Re: SLES11 one disk is not online at boot, mount fails (of course)
I believe that for SLES 11 zipl.conf is no longer used
You can use fdasd (in interactive mode) to change just the label. It's
command v, which will prompt you for a new label. You can then write the
partition table (including the new label/volser) without changing the actual
partitioning or erasing the data on the disk.
On Thu, Mar 25, 2010 at 12:35
It's not the simplest procedure ever, and I don't know of a tutorial the
directly addresses what you're trying to do, but essentially you need to:
- Shut down and log off of the Linux whose root filesystem you wish to
transfer.
- Bring up the volume group containing that root filesystem on
If you're going the chroot route, you'll want to bind-mount /dev /proc and
/sys into the directory that you'll chroot into. This will make these
in-memory-only filesystems accessible within your chrooted environment.
See here:
http://fermilinux.fnal.gov/documentation/tips/mount-bind-chroot
On
I should add that you do the bind mount *before* you chroot. And that the
same directories should be excluded from what you try to copy across file
systems.
On Thu, Mar 18, 2010 at 6:45 PM, Christian Paro christian.p...@gmail.comwrote:
If you're going the chroot route, you'll want to bind-mount
Did you try the -q and -e without the .s390x.rpm?
Those commands aren't meant to work with the RPM's file name. Just its
logical name (or fully-qualified name with version number, for cases where
multiple versions can coexist).
On Tue, Mar 9, 2010 at 3:47 PM, CHAPLIN, JAMES (CTR)
Create an init script based on (or which calls) the script you've been
using, and use `chkconfig` to enable it for the appropriate runlevel (which
depends on what services you expect to already be up at the time your script
is to be run). Having it on for the runlevel you normally boot into
Your answer might lie with */proc/sys/vm/pagecache:*
*
*
*http://kbase.redhat.com/faq/docs/DOC-7055*
http://www.ibm.com/developerworks/linux/library/l-adfly.html
On Thu, Feb 11, 2010 at 9:19 AM, Martin, Terry R. (CMS/CTR) (CTR)
terry.mar...@cms.hhs.gov wrote:
HI Offer,
Unfortunately this is
, Christian Paro christian.p...@gmail.comwrote:
Your answer might lie with */proc/sys/vm/pagecache:*
*
*
*http://kbase.redhat.com/faq/docs/DOC-7055*
http://www.ibm.com/developerworks/linux/library/l-adfly.html
On Thu, Feb 11, 2010 at 9:19 AM, Martin, Terry R. (CMS/CTR) (CTR)
terry.mar
This might help:
The following explains how to mount a remote filesystem through ssh using
sshfs.
By default openSUSE products included sshfs, however sles/sled products do
not. Instructions for installing sshfs are included for SLES/SLED below.
SLED/SLES products:
1. Download the
Yes, but sshfs does run under fuse, so I'm guessing you'll need to also
install fuse in order to get sshfs working.
On Wed, Feb 3, 2010 at 11:33 AM, Bernie Wu bernard...@ncci.com wrote:
Thanks David,
Sounds like a FUSE module.
Looked in all the FUSE packages but did not find sshfs.
The
The sshfs package itself.
You may need to get a source package from the sshfs project page on
Sourceforge, since it's not likely that you'll find a third-party s390x
package for SLES11 where it's not provided with the official distribution.
On Wed, Feb 3, 2010 at 11:56 AM, Bernie Wu
This will get you a mapping from the by-id to the by-path device names:
for file in /dev/disk/by-id/*; do
echo ${file/*\/} \
$(ls -l /dev/disk/by-path |
grep $(ls -l $file |
awk '{print $11}') |
awk '{print $9}')
done
...which should give you a start on
If this is an application you wrote, why not just have it write to stdout
and then redirect its output at the shell to wherever you want to put it. In
other words, instead of:
`app in1 in2 in3 output.file`
you'd have
`app in1 in2 in3 output.file` (to output to a file named output.file)
or
So it's not letting you use the -k (--keep_volser) option unless you also
specify -a? Because, at least looking at the man page, -k should work as
long as you're in non-interactive mode and -c puts you in non-interactive
mode.
As in:
`fdasd -k -c /fdasdb.conf /dev/dasdb`
Also, you might also
- What applications / types of applications (databases, web servers, etc...)
are you running?
- Do you typically have specialized guests running one primary application
each, or sets/stacks of applications running on the same guest?
- Do the majority of your Linux guests house long-term
Relevant-looking post from a Debian forum:
http://www.mail-archive.com/debian-s...@lists.debian.org/msg02156.html
...apparently there's a bug with DASD devices being varied back on after
they're varied off when they're listed in the dasd option for the dasd_mod
kernel module.
On Tue, Jul 28,
58 matches
Mail list logo