Re: /usr/local -or- /local
Thanks for all the feedback. I've seen cases where, for example, a sub-dir of /proc is a mount point, and the mount point gets created before /proc is actually mounted. (Some script somewhere must be doing this, because the 'mount' command executable does not.) So a missing /usr/local (mount point) doesn't necessarily ensure that the two cannot get out of sequence. It doesn't matter all that much (to me) whether mounting /usr/local ahead of /usr can be prevented. The cascade of mounts is inelegant. So the question is simply if anyone sees problems with /usr/local being a sym-link to /local ... up one level. Doesn't sound like anyone thinks that is really a problem. I've got another one. Will make that another subject for proper threading. -- R; <>< On Tue, Jan 5, 2010 at 13:55, Richard Troth wrote: > folks -- > > Does anyone see or imagine or know of any negative impact from having > /usr/local be a symbolic link to /local? One of my teammates is > asking. > > I have personally endorsed this particular hack. It lets us have /usr > and /local each be in their own filesystem and yet not have a mount > fight. That is, if /usr/local and /usr were each unique filesystems, > you could wind up with bad things like one FS hiding the other. > (Rare, but possible.) So instead, I am in the habit of moving > /usr/local to /local and letting there be a sym-link /usr/local. What > then is the risk? > > Novell? RedHat? What do y'all say? Is there a problem with this? > > Thanks. > > -- R; <>< > -- 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
Re: SLES 10 SP2 upgrade to SLES 10 SP3 error
To increase the size of /usr, the VM guys have added a disk for me, which has been formatted and mounted as /usrnew. I then ran the command "cp -Rv --preserve /usr/* /usrnew" as root from the "/" directory'. However, the USED space is different - 1.9G for /usr and 2.1G for /usrnew. I've looked on the web, and see that some recommend using switches -dpr or -a also. Using the --preserve switch kept the file/directory dates, but the dates on the symlink's were today's date. output of "df -h": FilesystemSize Used Avail Use% Mounted on /dev/dasdb1 1.2G 158M 1016M 14% / udev 184M 200K 184M 1% /dev /dev/dasda169M 14M 52M 21% /boot /dev/dasdh1 2.3G 85M 2.3G 4% /home /dev/dasdg1 1.2G 843M 331M 72% /opt /dev/dasdc1 2.3G 1.9G 366M 84% /usr /dev/dasdd1 1.1G 321M 713M 32% /var /dev/mapper/tmpvg-tmpvol 14G 98M 14G 1% /tmp /dev/dasdq1 2.3G 33M 2.3G 2% /unused /dev/dasdp1 4.6G 2.1G 2.6G 45% /usrnew Snippet of "mount": /dev/dasdc1 on /usr type reiserfs (rw,acl,user_xattr) /dev/dasdp1 on /usrnew type reiserfs (rw,acl,user_xattr) Question 1. Is "cp" to correct command to do the copy, and if so what are the correct switches? Beside keeping the symlinks, I'd also want to copy any files that start with ".", and any other file types I may not be aware of. I also considered using "tar" to backup and restore the files, and possibly "rsync". Question 2. I then want to rename the /usr directory to /usrold , and then rename /usrnew to /usr, and then I will update fstab and reboot. What is the correct way to do the two renames above - is it the "mv" command, and if so what switches would I want to use so I copy all files types and preserve dates, permissions, etc.? Question 3. Is there a command that will compare /usr and /usrnew for differences, or that will show number of files and exact space used? |-Original Message- |From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of |Mark Post |Sent: Monday, January 04, 2010 9:00 PM |To: LINUX-390@VM.MARIST.EDU |Subject: Re: SLES 10 SP2 upgrade to SLES 10 SP3 error | |>>> On 1/4/2010 at 5:36 PM, "Slaughter, Dale" |wrote: |-snip- |> What is the solution to this problem? | |You need to add more space to /usr, or remove enough packages (that |contain files in /usr). | | |Mark Post | |-- |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 -- 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
locking dir for LVM and /etc/lvm/lvm.conf
For reasons that I won't go into, we found that LVM might get started before /var is mounted. (Activating volume groups; stuff like that.) But the stock locking directory for LVM is /var/lock/lvm. I've tried a couple of variants ... with no problems ... but am again asking the group for greater wisdom. Does anyone see a problem with using /dev/shm as the LVM lock dir? (Is always writable, but is shared by other things.) How about /etc/lvm/lock? (Needs to be created. Might not always be writable.) Either of the above HAVE WORKED in my experience up to now. But we're trying to balance what appears to be okay against what might cause a conflict later. Part of the envelop stretch is driven by RO media, which can be shared (and is appealing in virtual space, duh). Some stock directories, pointers, configurations don't necessarily drop right in (to RO) without changes. Small changes such as these are no brainers. (clearly should pose no prob) But will they later turn out to be brainless? (presenting copious pain and suffering) Thanks. -- R; <>< -- 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
FW: SLES 10 SP2 upgrade to SLES 10 SP3 error
To increase the size of /usr, the VM guys have added a disk for me, which has been formatted and mounted as /usrnew. I then ran the command "cp -Rv --preserve /usr/* /usrnew" as root from the "/" directory'. However, the USED space is different - 1.9G for /usr and 2.1G for /usrnew. I've looked on the web, and see that some recommend using switches -dpr or -a also. Using the --preserve switch kept the file/directory dates, but the dates on the symlink's were today's date. output of "df -h": FilesystemSize Used Avail Use% Mounted on /dev/dasdb1 1.2G 158M 1016M 14% / udev 184M 200K 184M 1% /dev /dev/dasda169M 14M 52M 21% /boot /dev/dasdh1 2.3G 85M 2.3G 4% /home /dev/dasdg1 1.2G 843M 331M 72% /opt /dev/dasdc1 2.3G 1.9G 366M 84% /usr /dev/dasdd1 1.1G 321M 713M 32% /var /dev/mapper/tmpvg-tmpvol 14G 98M 14G 1% /tmp /dev/dasdq1 2.3G 33M 2.3G 2% /unused /dev/dasdp1 4.6G 2.1G 2.6G 45% /usrnew Snippet of "mount": /dev/dasdc1 on /usr type reiserfs (rw,acl,user_xattr) /dev/dasdp1 on /usrnew type reiserfs (rw,acl,user_xattr) Question 1. Is "cp" to correct command to do the copy, and if so what are the correct switches? Beside keeping the symlinks, I'd also want to copy any files that start with ".", and any other file types I may not be aware of. I also considered using "tar" to backup and restore the files, and possibly "rsync". Question 2. I then want to rename the /usr directory to /usrold , and then rename /usrnew to /usr, and then I will update fstab and reboot. What is the correct way to do the two renames above - is it the "mv" command, and if so what switches would I want to use so I copy all files types and preserve dates, permissions, etc.? Question 3. Is there a command that will compare /usr and /usrnew for differences, or that will show number of files and exact space used? |-Original Message- |From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of |Mark Post |Sent: Monday, January 04, 2010 9:00 PM |To: LINUX-390@VM.MARIST.EDU |Subject: Re: SLES 10 SP2 upgrade to SLES 10 SP3 error | |>>> On 1/4/2010 at 5:36 PM, "Slaughter, Dale" |wrote: |-snip- |> What is the solution to this problem? | |You need to add more space to /usr, or remove enough packages (that |contain files in /usr). | | |Mark Post | |-- |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 -- 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
Re: SLES 10 SP2 upgrade to SLES 10 SP3 error
Dale, I always use the incantaion found here http://www.linuxvm.org/Info/HOWTOs/movefs.html Marcy "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation." -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Slaughter, Dale Sent: Wednesday, January 06, 2010 8:04 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: [LINUX-390] SLES 10 SP2 upgrade to SLES 10 SP3 error To increase the size of /usr, the VM guys have added a disk for me, which has been formatted and mounted as /usrnew. I then ran the command "cp -Rv --preserve /usr/* /usrnew" as root from the "/" directory'. However, the USED space is different - 1.9G for /usr and 2.1G for /usrnew. I've looked on the web, and see that some recommend using switches -dpr or -a also. Using the --preserve switch kept the file/directory dates, but the dates on the symlink's were today's date. output of "df -h": FilesystemSize Used Avail Use% Mounted on /dev/dasdb1 1.2G 158M 1016M 14% / udev 184M 200K 184M 1% /dev /dev/dasda169M 14M 52M 21% /boot /dev/dasdh1 2.3G 85M 2.3G 4% /home /dev/dasdg1 1.2G 843M 331M 72% /opt /dev/dasdc1 2.3G 1.9G 366M 84% /usr /dev/dasdd1 1.1G 321M 713M 32% /var /dev/mapper/tmpvg-tmpvol 14G 98M 14G 1% /tmp /dev/dasdq1 2.3G 33M 2.3G 2% /unused /dev/dasdp1 4.6G 2.1G 2.6G 45% /usrnew Snippet of "mount": /dev/dasdc1 on /usr type reiserfs (rw,acl,user_xattr) /dev/dasdp1 on /usrnew type reiserfs (rw,acl,user_xattr) Question 1. Is "cp" to correct command to do the copy, and if so what are the correct switches? Beside keeping the symlinks, I'd also want to copy any files that start with ".", and any other file types I may not be aware of. I also considered using "tar" to backup and restore the files, and possibly "rsync". Question 2. I then want to rename the /usr directory to /usrold , and then rename /usrnew to /usr, and then I will update fstab and reboot. What is the correct way to do the two renames above - is it the "mv" command, and if so what switches would I want to use so I copy all files types and preserve dates, permissions, etc.? Question 3. Is there a command that will compare /usr and /usrnew for differences, or that will show number of files and exact space used? |-Original Message- |From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of |Mark Post |Sent: Monday, January 04, 2010 9:00 PM |To: LINUX-390@VM.MARIST.EDU |Subject: Re: SLES 10 SP2 upgrade to SLES 10 SP3 error | |>>> On 1/4/2010 at 5:36 PM, "Slaughter, Dale" |wrote: |-snip- |> What is the solution to this problem? | |You need to add more space to /usr, or remove enough packages (that |contain files in /usr). | | |Mark Post | |-- |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 -- 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 -- 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
Re: SLES 10 SP2 upgrade to SLES 10 SP3 error
1) rsync: rsync -av /usr/ /usrnew It will preserve everything.. easy 2) Just use 'mv' ..mv /usr /usrold mv /usrnew /usr .. it's just a rename.. 3) rsync -avn /usr /usrnew Would show you what rsync would do - but not really do it (the -n option)... but there may be better ways to get what you want here -- I'm sure others will kick in. Scott On Wed, Jan 6, 2010 at 9:04 AM, Slaughter, Dale wrote: > To increase the size of /usr, the VM guys have added a disk for me, which > has been formatted and mounted as /usrnew. I then ran the command "cp -Rv > --preserve /usr/* /usrnew" as root from the "/" directory'. However, the > USED space is different - 1.9G for /usr and 2.1G for /usrnew. I've looked > on the web, and see that some recommend using switches -dpr or -a also. > Using the --preserve switch kept the file/directory dates, but the dates on > the symlink's were today's date. > > > output of "df -h": > > FilesystemSize Used Avail Use% Mounted on > /dev/dasdb1 1.2G 158M 1016M 14% / > udev 184M 200K 184M 1% /dev > /dev/dasda169M 14M 52M 21% /boot > /dev/dasdh1 2.3G 85M 2.3G 4% /home > /dev/dasdg1 1.2G 843M 331M 72% /opt > /dev/dasdc1 2.3G 1.9G 366M 84% /usr > /dev/dasdd1 1.1G 321M 713M 32% /var > /dev/mapper/tmpvg-tmpvol > 14G 98M 14G 1% /tmp > /dev/dasdq1 2.3G 33M 2.3G 2% /unused > /dev/dasdp1 4.6G 2.1G 2.6G 45% /usrnew > > > > Snippet of "mount": > > /dev/dasdc1 on /usr type reiserfs (rw,acl,user_xattr) > /dev/dasdp1 on /usrnew type reiserfs (rw,acl,user_xattr) > > > > > > Question 1. Is "cp" to correct command to do the copy, and if so what are > the correct switches? Beside keeping the symlinks, I'd also want to copy > any files that start with ".", and any other file types I may not be aware > of. I also considered using "tar" to backup and restore the files, and > possibly "rsync". > > Question 2. I then want to rename the /usr directory to /usrold , and then > rename /usrnew to /usr, and then I will update fstab and reboot. What is > the correct way to do the two renames above - is it the "mv" command, and if > so what switches would I want to use so I copy all files types and preserve > dates, permissions, etc.? > > Question 3. Is there a command that will compare /usr and /usrnew for > differences, or that will show number of files and exact space used? > > > > |-Original Message- > |From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of > |Mark Post > |Sent: Monday, January 04, 2010 9:00 PM > |To: LINUX-390@VM.MARIST.EDU > |Subject: Re: SLES 10 SP2 upgrade to SLES 10 SP3 error > | > |>>> On 1/4/2010 at 5:36 PM, "Slaughter, Dale" > |wrote: > |-snip- > |> What is the solution to this problem? > | > |You need to add more space to /usr, or remove enough packages (that > |contain files in /usr). > | > | > |Mark Post > | > |-- > |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 > > -- > 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 > -- 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
Re: SLES 10 SP2 upgrade to SLES 10 SP3 error
Yes... one of the classics on linuxvm.org. I refer to it often myself. On 01/06/2010 10:18 AM, Marcy Cortes wrote: Dale, I always use the incantaion found here http://www.linuxvm.org/Info/HOWTOs/movefs.html Marcy "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation." -- Rich Smrcina Phone: 414-491-6001 http://www.linkedin.com/in/richsmrcina Catch the WAVV! http://www.wavv.org WAVV 2010 - Apr 9-13, 2010 Covington, KY -- 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
Re: SLES 10 SP2 upgrade to SLES 10 SP3 error
Sorry -- my #3 isn't correct and should be: 3) rsync -avn /usr/ /usrnew The trailing slash on the source directory means 'the contents of'.If you leave the trailing slash off - it will think you want a directory call /usr under /usrnew (/usrnew/usr). That's the only real tricky part of rsync -- to trail with a slash or not... ;-) Scott On Wed, Jan 6, 2010 at 9:20 AM, Scott Rohling wrote: > 1) rsync: rsync -av /usr/ /usrnew > It will preserve everything.. easy > > 2) Just use 'mv' ..mv /usr /usrold mv /usrnew /usr .. > it's just a rename.. > > 3) rsync -avn /usr /usrnew > > Would show you what rsync would do - but not really do it (the -n > option)... but there may be better ways to get what you want here -- I'm > sure others will kick in. > > Scott > > > On Wed, Jan 6, 2010 at 9:04 AM, Slaughter, Dale > wrote: > >> To increase the size of /usr, the VM guys have added a disk for me, which >> has been formatted and mounted as /usrnew. I then ran the command "cp -Rv >> --preserve /usr/* /usrnew" as root from the "/" directory'. However, the >> USED space is different - 1.9G for /usr and 2.1G for /usrnew. I've looked >> on the web, and see that some recommend using switches -dpr or -a also. >> Using the --preserve switch kept the file/directory dates, but the dates on >> the symlink's were today's date. >> >> >> output of "df -h": >> >> FilesystemSize Used Avail Use% Mounted on >> /dev/dasdb1 1.2G 158M 1016M 14% / >> udev 184M 200K 184M 1% /dev >> /dev/dasda169M 14M 52M 21% /boot >> /dev/dasdh1 2.3G 85M 2.3G 4% /home >> /dev/dasdg1 1.2G 843M 331M 72% /opt >> /dev/dasdc1 2.3G 1.9G 366M 84% /usr >> /dev/dasdd1 1.1G 321M 713M 32% /var >> /dev/mapper/tmpvg-tmpvol >> 14G 98M 14G 1% /tmp >> /dev/dasdq1 2.3G 33M 2.3G 2% /unused >> /dev/dasdp1 4.6G 2.1G 2.6G 45% /usrnew >> >> >> >> Snippet of "mount": >> >> /dev/dasdc1 on /usr type reiserfs (rw,acl,user_xattr) >> /dev/dasdp1 on /usrnew type reiserfs (rw,acl,user_xattr) >> >> >> >> >> >> Question 1. Is "cp" to correct command to do the copy, and if so what are >> the correct switches? Beside keeping the symlinks, I'd also want to copy >> any files that start with ".", and any other file types I may not be aware >> of. I also considered using "tar" to backup and restore the files, and >> possibly "rsync". >> >> Question 2. I then want to rename the /usr directory to /usrold , and >> then rename /usrnew to /usr, and then I will update fstab and reboot. What >> is the correct way to do the two renames above - is it the "mv" command, and >> if so what switches would I want to use so I copy all files types and >> preserve dates, permissions, etc.? >> >> Question 3. Is there a command that will compare /usr and /usrnew for >> differences, or that will show number of files and exact space used? >> >> >> >> |-Original Message- >> |From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of >> |Mark Post >> |Sent: Monday, January 04, 2010 9:00 PM >> |To: LINUX-390@VM.MARIST.EDU >> |Subject: Re: SLES 10 SP2 upgrade to SLES 10 SP3 error >> | >> |>>> On 1/4/2010 at 5:36 PM, "Slaughter, Dale" >> |wrote: >> |-snip- >> |> What is the solution to this problem? >> | >> |You need to add more space to /usr, or remove enough packages (that >> |contain files in /usr). >> | >> | >> |Mark Post >> | >> |-- >> |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 >> >> -- >> 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 >> > > -- 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
Re: SLES 10 SP2 upgrade to SLES 10 SP3 error
Yes - I initially used this nifty tar pipe too -- you can even go over the network with it with some tweaks. But - the rsync incantation is SO much easier to remember... and rsync is fairly ubiquitous at this point, so ... Scott On Wed, Jan 6, 2010 at 9:24 AM, Rich Smrcina wrote: > Yes... one of the classics on linuxvm.org. I refer to it often myself. > > > On 01/06/2010 10:18 AM, Marcy Cortes wrote: > >> Dale, I always use the incantaion found here >> http://www.linuxvm.org/Info/HOWTOs/movefs.html >> >> >> Marcy >> >> "This message may contain confidential and/or privileged information. If >> you are not the addressee or authorized to receive this for the addressee, >> you must not use, copy, disclose, or take any action based on this message >> or any information herein. If you have received this message in error, >> please advise the sender immediately by reply e-mail and delete this >> message. Thank you for your cooperation." >> >> >> >> > -- > Rich Smrcina > Phone: 414-491-6001 > http://www.linkedin.com/in/richsmrcina > > Catch the WAVV! http://www.wavv.org > WAVV 2010 - Apr 9-13, 2010 Covington, KY > > > -- > 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 > -- 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
Re: SLES 10 SP2 upgrade to SLES 10 SP3 error
On 01/06/2010 11:20 AM, Scott Rohling wrote: 2) Just use 'mv' ..mv /usr /usrold mv /usrnew /usr .. it's just a rename. a) If you were to use this, it would be mv -r /usr /usrnew note the "-r" to recurs to lower directories. b) If it were on one mount point, it would be a rename, but would change the ownership to the user and group executing the command. As the OP said this was between mount point, this would be an actual move, with the same caveat as previous. It would also wreak havok on any links, hard or soft. Kim -- 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
Re: SLES 10 SP2 upgrade to SLES 10 SP3 error
On Wed, Jan 6, 2010 at 9:04 AM, Dale Slaughter wrote: >> Question 2. I then want to rename the /usr directory to /usrold , and >> then rename /usrnew to /usr, and then I will update fstab and reboot. >> What is the correct way to do the two renames above - is it the "mv" >> command, and if so what switches would I want to use so I copy all files >> types and preserve dates, permissions, etc.? and on Wed, Jan 6, 2010 at 11:20, Scott Rohling replied: >2) Just use 'mv' ..mv /usr /usrold mv /usrnew /usr .. >it's just a rename.. I don't think that quite does what Dale wants, because it will move the files within /usr to /usrold on the root filesystem. What really needs to be done here is to remount the filesystems on the correct mount-points, not to rename file paths. So the right way to do it is with mount: mkdir /usrold mount --move /usr /usrold && mount --move /usrnew /usr The --move option atomically moves the filesystem, so there is no point at which it is unmounted. Open files on that filesystem will remain open, so it is OK to do the above when the filesystem is "busy" and is not unmountable. However, there is still a small window between the two mount commands in which a process might try to access a file within /usr and fail because it does not exist. If you have a lot of programs starting frequently, this is likely to be a problem. If you have a set of stable apps running but not execing new programs, you should be OK. On a production system, it would be best to bring it down to single-user mode first. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street · Newton, MA 02466-2272 · USA Tel: +1.617.614.4321 Email: m...@rs.com Web: www.rocketsoftware.com -- 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
Re: SLES 10 SP2 upgrade to SLES 10 SP3 error
Good points .. you're right - that would have been messy. And actually - since these are mount points -- no rename is really necessary -- just mount the correct device under /usr. Scot On Wed, Jan 6, 2010 at 9:47 AM, Kim Goldenberg wrote: > On 01/06/2010 11:20 AM, Scott Rohling wrote: > >> 2) Just use 'mv' ..mv /usr /usrold mv /usrnew /usr .. >> it's just a rename. >> >> a) If you were to use this, it would be > >mv -r /usr /usrnew > > note the "-r" to recurs to lower directories. > > b) If it were on one mount point, it would be a rename, but would change > the ownership to the > user and group executing the command. As the OP said this was between > mount point, this would > be an actual move, with the same caveat as previous. It would also wreak > havok on any links, > hard or soft. > > Kim > > > -- > 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 > -- 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
Re: SLES 10 SP2 upgrade to SLES 10 SP3 error
Yes - I've realized since this isn't a rename - it's a remount.. But SWEET! I didn't know about the --move option on the mount -- tres cool. That will come in handy... Scott On Wed, Jan 6, 2010 at 9:54 AM, Edmund R. MacKenty < ed.macke...@rocketsoftware.com> wrote: > On Wed, Jan 6, 2010 at 9:04 AM, Dale Slaughter wrote: > >> Question 2. I then want to rename the /usr directory to /usrold , and > >> then rename /usrnew to /usr, and then I will update fstab and reboot. > >> What is the correct way to do the two renames above - is it the "mv" > >> command, and if so what switches would I want to use so I copy all files > >> types and preserve dates, permissions, etc.? > > and on Wed, Jan 6, 2010 at 11:20, Scott Rohling replied: > >2) Just use 'mv' ..mv /usr /usrold mv /usrnew /usr .. > >it's just a rename.. > > I don't think that quite does what Dale wants, because it will move the > files > within /usr to /usrold on the root filesystem. What really needs to be > done > here is to remount the filesystems on the correct mount-points, not to > rename > file paths. So the right way to do it is with mount: > >mkdir /usrold >mount --move /usr /usrold && mount --move /usrnew /usr > > The --move option atomically moves the filesystem, so there is no point at > which it is unmounted. Open files on that filesystem will remain open, so > it > is OK to do the above when the filesystem is "busy" and is not unmountable. > However, there is still a small window between the two mount commands in > which > a process might try to access a file within /usr and fail because it does > not > exist. If you have a lot of programs starting frequently, this is likely > to > be a problem. If you have a set of stable apps running but not execing new > programs, you should be OK. On a production system, it would be best to > bring it down to single-user mode first. >- MacK. > - > Edmund R. MacKenty > Software Architect > Rocket Software > 275 Grove Street · Newton, MA 02466-2272 · USA > Tel: +1.617.614.4321 > Email: m...@rs.com > Web: www.rocketsoftware.com > > -- > 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 > -- 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
Re: locking dir for LVM and /etc/lvm/lvm.conf
On Wednesday 06 January 2010 11:14, Richard Troth wrote: >For reasons that I won't go into, we found that LVM might get started >before /var is mounted. (Activating volume groups; stuff like that.) >But the stock locking directory for LVM is /var/lock/lvm. I've tried >a couple of variants ... with no problems ... but am again asking the >group for greater wisdom. > >Does anyone see a problem with using /dev/shm as the LVM lock dir? >(Is always writable, but is shared by other things.) > >How about /etc/lvm/lock? (Needs to be created. Might not always be > writable.) If you're doing a vgscan, you'll need /etc/lvm writable as well as any lock directory. I didn't try using /dev/shm, but I suspect it would be OK as long as you're using pathnames no one else would use. I do something similar with shared DASD, but I use a tmpfs for this. Mount it on /var, make the lvm/lock subdirectories, and bind-mount another sub-directory onto /etc/lvm if /etc isn't writable either. Then the LVM tools can do their stuff. Another option (with LVM2) is to use the --ignorelockingfailure option of vgscan. Because you're doing this during the boot sequence, you have complete control and nothing else will be running an LVM tool, so you don't really need the locks, right? - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street · Newton, MA 02466-2272 · USA Tel: +1.617.614.4321 Email: m...@rs.com Web: www.rocketsoftware.com -- 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
Re: SLES 10 SP2 upgrade to SLES 10 SP3 error
After using "tar" command, the "diff" command showed the below messages - I suspect they are OK? I didn't do the "mount" "umount" commands since I had already updated fstab with the new disk and rebooted. The "dfh -h" command does now show that the two files are both at 1.9G, vs. there being 0.2G difference before when using the "cp" command. LINUX9D:/usr # tar -clpSf - . | (cd /usrnew ; tar -xpSf - ) tar: Semantics of -l option will change in the future releases. tar: Please use --one-file-system option instead. LINUX9D:/usr # cd / LINUX9D:/ # diff -r /usr /usrnew diff: /usr/bin/X11/Xwrapper: No such file or directory diff: /usrnew/bin/X11/Xwrapper: No such file or directory File /usr/lib/rsc/keystroke.pipe is a fifo while file /usrnew/lib/rsc/keystroke.pipe is a fifo File /usr/lib/rsc/rscd.pipe is a fifo while file /usrnew/lib/rsc/rscd.pipe is a fifo File /usr/lib64/32/rsc/keystroke.pipe is a fifo while file /usrnew/lib64/32/rsc/keystroke.pipe is a fifo File /usr/lib64/32/rsc/rscd.pipe is a fifo while file /usrnew/lib64/32/rsc/rscd.pipe is a fifo diff: /usr/lib64/samba/nss_info/rfc2307.so: No such file or directory diff: /usrnew/lib64/samba/nss_info/rfc2307.so: No such file or directory diff: /usr/lib64/samba/nss_info/sfu.so: No such file or directory diff: /usrnew/lib64/samba/nss_info/sfu.so: No such file or directory diff: /usr/X11/bin/Xwrapper: No such file or directory diff: /usrnew/X11/bin/Xwrapper: No such file or directory diff: /usr/X11R6/bin/Xwrapper: No such file or directory diff: /usrnew/X11R6/bin/Xwrapper: No such file or directory LINUX9D:/ # |-Original Message- |From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of |Marcy Cortes |Sent: Wednesday, January 06, 2010 10:18 AM |To: LINUX-390@VM.MARIST.EDU |Subject: Re: SLES 10 SP2 upgrade to SLES 10 SP3 error | |Dale, I always use the incantaion found here |http://www.linuxvm.org/Info/HOWTOs/movefs.html | | |Marcy | |"This message may contain confidential and/or privileged information. If |you are not the addressee or authorized to receive this for the |addressee, you must not use, copy, disclose, or take any action based on |this message or any information herein. If you have received this |message in error, please advise the sender immediately by reply e-mail |and delete this message. Thank you for your cooperation." | | |-Original Message- |From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of |Slaughter, Dale |Sent: Wednesday, January 06, 2010 8:04 AM |To: LINUX-390@VM.MARIST.EDU |Subject: Re: [LINUX-390] SLES 10 SP2 upgrade to SLES 10 SP3 error | |To increase the size of /usr, the VM guys have added a disk for me, |which has been formatted and mounted as /usrnew. I then ran the command |"cp -Rv --preserve /usr/* /usrnew" as root from the "/" directory'. |However, the USED space is different - 1.9G for /usr and 2.1G for |/usrnew. I've looked on the web, and see that some recommend using |switches -dpr or -a also. Using the --preserve switch kept the |file/directory dates, but the dates on the symlink's were today's date. | | |output of "df -h": | |FilesystemSize Used Avail Use% Mounted on |/dev/dasdb1 1.2G 158M 1016M 14% / |udev 184M 200K 184M 1% /dev |/dev/dasda169M 14M 52M 21% /boot |/dev/dasdh1 2.3G 85M 2.3G 4% /home |/dev/dasdg1 1.2G 843M 331M 72% /opt |/dev/dasdc1 2.3G 1.9G 366M 84% /usr |/dev/dasdd1 1.1G 321M 713M 32% /var |/dev/mapper/tmpvg-tmpvol | 14G 98M 14G 1% /tmp |/dev/dasdq1 2.3G 33M 2.3G 2% /unused |/dev/dasdp1 4.6G 2.1G 2.6G 45% /usrnew | | | |Snippet of "mount": | |/dev/dasdc1 on /usr type reiserfs (rw,acl,user_xattr) |/dev/dasdp1 on /usrnew type reiserfs (rw,acl,user_xattr) | | | | | |Question 1. Is "cp" to correct command to do the copy, and if so what |are the correct switches? Beside keeping the symlinks, I'd also want to |copy any files that start with ".", and any other file types I may not |be aware of. I also considered using "tar" to backup and restore the |files, and possibly "rsync". | |Question 2. I then want to rename the /usr directory to /usrold , and |then rename /usrnew to /usr, and then I will update fstab and reboot. |What is the correct way to do the two renames above - is it the "mv" |command, and if so what switches would I want to use so I copy all files |types and preserve dates, permissions, etc.? | |Question 3. Is there a command that will compare /usr and /usrnew for |differences, or that will show number of files and exact space used? | | | ||-Original Message- ||From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of ||Mark Post ||Sent: Monday, January 04, 2010 9:00 PM ||To: LINUX-390@VM.MARIST.EDU ||Subject: Re: SLES 10 SP2 upgrade to SLES 10 SP3 error || ||>>> On 1/4/2010 at 5:36 PM, "Slaughter, Dale" | ||wrote: ||-snip- ||> Wh
FW: SLES 10 SP2 upgrade to SLES 10 SP3 error
After using "tar" command, the "diff" command showed the below messages - I suspect they are OK? I didn't do the "mount" "umount" commands since I had already updated fstab with the new disk and rebooted. The "df -h" command does now show that the two files are both at 1.9G, vs. there being 0.2G difference before when using the "cp" command. LINUX9D:/usr # tar -clpSf - . | (cd /usrnew ; tar -xpSf - ) tar: Semantics of -l option will change in the future releases. tar: Please use --one-file-system option instead. LINUX9D:/usr # cd / LINUX9D:/ # diff -r /usr /usrnew diff: /usr/bin/X11/Xwrapper: No such file or directory diff: /usrnew/bin/X11/Xwrapper: No such file or directory File /usr/lib/rsc/keystroke.pipe is a fifo while file /usrnew/lib/rsc/keystroke.pipe is a fifo File /usr/lib/rsc/rscd.pipe is a fifo while file /usrnew/lib/rsc/rscd.pipe is a fifo File /usr/lib64/32/rsc/keystroke.pipe is a fifo while file /usrnew/lib64/32/rsc/keystroke.pipe is a fifo File /usr/lib64/32/rsc/rscd.pipe is a fifo while file /usrnew/lib64/32/rsc/rscd.pipe is a fifo diff: /usr/lib64/samba/nss_info/rfc2307.so: No such file or directory diff: /usrnew/lib64/samba/nss_info/rfc2307.so: No such file or directory diff: /usr/lib64/samba/nss_info/sfu.so: No such file or directory diff: /usrnew/lib64/samba/nss_info/sfu.so: No such file or directory diff: /usr/X11/bin/Xwrapper: No such file or directory diff: /usrnew/X11/bin/Xwrapper: No such file or directory diff: /usr/X11R6/bin/Xwrapper: No such file or directory diff: /usrnew/X11R6/bin/Xwrapper: No such file or directory LINUX9D:/ # ||-Original Message- ||From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of ||Marcy Cortes ||Sent: Wednesday, January 06, 2010 10:18 AM ||To: LINUX-390@VM.MARIST.EDU ||Subject: Re: SLES 10 SP2 upgrade to SLES 10 SP3 error || ||Dale, I always use the incantaion found here ||http://www.linuxvm.org/Info/HOWTOs/movefs.html || || ||Marcy || ||"This message may contain confidential and/or privileged information. |If ||you are not the addressee or authorized to receive this for the ||addressee, you must not use, copy, disclose, or take any action based |on ||this message or any information herein. If you have received this ||message in error, please advise the sender immediately by reply e-mail ||and delete this message. Thank you for your cooperation." || || ||-Original Message- ||From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of ||Slaughter, Dale ||Sent: Wednesday, January 06, 2010 8:04 AM ||To: LINUX-390@VM.MARIST.EDU ||Subject: Re: [LINUX-390] SLES 10 SP2 upgrade to SLES 10 SP3 error || ||To increase the size of /usr, the VM guys have added a disk for me, ||which has been formatted and mounted as /usrnew. I then ran the |command ||"cp -Rv --preserve /usr/* /usrnew" as root from the "/" directory'. ||However, the USED space is different - 1.9G for /usr and 2.1G for ||/usrnew. I've looked on the web, and see that some recommend using ||switches -dpr or -a also. Using the --preserve switch kept the ||file/directory dates, but the dates on the symlink's were today's date. || || ||output of "df -h": || ||FilesystemSize Used Avail Use% Mounted on ||/dev/dasdb1 1.2G 158M 1016M 14% / ||udev 184M 200K 184M 1% /dev ||/dev/dasda169M 14M 52M 21% /boot ||/dev/dasdh1 2.3G 85M 2.3G 4% /home ||/dev/dasdg1 1.2G 843M 331M 72% /opt ||/dev/dasdc1 2.3G 1.9G 366M 84% /usr ||/dev/dasdd1 1.1G 321M 713M 32% /var ||/dev/mapper/tmpvg-tmpvol || 14G 98M 14G 1% /tmp ||/dev/dasdq1 2.3G 33M 2.3G 2% /unused ||/dev/dasdp1 4.6G 2.1G 2.6G 45% /usrnew || || || ||Snippet of "mount": || ||/dev/dasdc1 on /usr type reiserfs (rw,acl,user_xattr) ||/dev/dasdp1 on /usrnew type reiserfs (rw,acl,user_xattr) || || || || || ||Question 1. Is "cp" to correct command to do the copy, and if so what ||are the correct switches? Beside keeping the symlinks, I'd also want |to ||copy any files that start with ".", and any other file types I may not ||be aware of. I also considered using "tar" to backup and restore the ||files, and possibly "rsync". || ||Question 2. I then want to rename the /usr directory to /usrold , and ||then rename /usrnew to /usr, and then I will update fstab and reboot. ||What is the correct way to do the two renames above - is it the "mv" ||command, and if so what switches would I want to use so I copy all |files ||types and preserve dates, permissions, etc.? || ||Question 3. Is there a command that will compare /usr and /usrnew for ||differences, or that will show number of files and exact space used? || || || |||-Original Message- |||From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of |||Mark Post |||Sent: Monday, January 04, 2010 9:00 PM |||To: LINUX-390@VM.MARIST.EDU |||Subject: Re: SLES 10 SP2 upgrade to SLES 10 SP
Re: FW: SLES 10 SP2 upgrade to SLES 10 SP3 error
>>> On 1/6/2010 at 12:26 PM, "Slaughter, Dale" wrote: > After using "tar" command, the "diff" command showed the below messages > - I suspect they are OK? Yes. If you look at the files being complained about, you'll find they are broken symbolic links. The tar command doesn't care about the health of symbolic links, it just backs them up. Then, when you run the diff (which does care) you get the complaints because the targets of the links don't actually exist. Mark Post -- 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
Re: SLES 10 SP2 upgrade to SLES 10 SP3 error
Thanks to everyone who's replied. I followed the process that was sent in http://www.linuxvm.org/Info/HOWTOs/movefs.html with the following deviation: I had already used yast to activate and format the disk as ReiserFS, and assigned it a mountpoint of /usrnew. I've followed steps 4 and 5. The yast process had already updated /etc/fstab to include the new disk with the /usrnew mount. For step 7, after the "tar" command was done, I edited /etc/fstab to change the mountpoint of /usrnew to /usr, and changed the old /usr to /usrsp2. I then rebooted. "df -h" doesn't show /usrsp2, even though there was an entry for it in /etc/fstab. I then check the partitioner in yast and there is an * besides it name in the column that has the mountpoint name. The /usr below is the new /usr that was just created. The old /usr, which I had updated /etc/fstab with a mountpoint of /usrsp2 doesn't show up under "mount" either. Question 1: What is happening that I can't see the old /usr, which I thought would have been mounted under /usrsp2? Question 2: Is everything OK? Question 3: Why do I still see /usrnew, which is not mounted? It's possible that when I was trying a 'mv" yesterday it was created by me. Question 4: I'm not sure of the purpose of step 8 in the HOWTO. I did the "telinit 1" and then the umount comes back with 'umount: /usr: device is busy', which I think subsequently killed the system. If the old /usr is on a disk that isn't mounted, is it necessary to delete what's on it, since the disk will probably be return to the VM guys for other purposes. Question 5: Is everything OK as it now sits? "df -h": FilesystemSize Used Avail Use% Mounted on /dev/dasdb1 1.2G 158M 1016M 14% / udev 184M 200K 184M 1% /dev /dev/dasda169M 14M 52M 21% /boot /dev/dasdh1 2.3G 85M 2.3G 4% /home /dev/dasdg1 1.2G 843M 331M 72% /opt /dev/dasdd1 1.1G 323M 711M 32% /var /dev/mapper/tmpvg-tmpvol 14G 98M 14G 1% /tmp /dev/dasdq1 2.3G 33M 2.3G 2% /unused /dev/dasdp1 4.6G 1.9G 2.8G 41% /usr "mount": /dev/dasdb1 on / type reiserfs (rw,acl,user_xattr) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) debugfs on /sys/kernel/debug type debugfs (rw) udev on /dev type tmpfs (rw) devpts on /dev/pts type devpts (rw,mode=0620,gid=5) /dev/dasda1 on /boot type ext2 (rw,acl,user_xattr) /dev/dasdh1 on /home type reiserfs (rw,acl,user_xattr) /dev/dasdg1 on /opt type reiserfs (rw,acl,user_xattr) /dev/dasdd1 on /var type reiserfs (rw,acl,user_xattr) /dev/mapper/tmpvg-tmpvol on /tmp type reiserfs (rw,acl,user_xattr) /dev/dasdq1 on /unused type reiserfs (rw,acl,user_xattr) /dev/dasdp1 on /usr type reiserfs (rw,acl,user_xattr) "l" command: total 33 drwxr-xr-x 30 root root 728 2010-01-06 13:40 ./ drwxr-xr-x 30 root root 728 2010-01-06 13:40 ../ drwxr-xr-x 2 root root 2384 2009-04-23 15:10 bin/ drwxr-xr-x 4 root root 4096 2010-01-06 13:40 boot/ drwx-- 8 20631 uuxstaff 584 2009-04-23 15:17 candle/ drwxr-xr-x 9 root root 2800 2010-01-06 13:40 dev/ drwxr-xr-x 81 root root 6928 2010-01-06 13:40 etc/ drwxr-xr-x 16 root root 400 2009-10-23 05:32 home/ lrwxrwxrwx 1 root root5 2009-05-01 13:35 homedir -> /home/ drwxr-xr-x 10 root root 3808 2009-04-23 09:49 lib/ drwxr-xr-x 5 root root 4720 2009-11-11 11:49 lib64/ drwxr-xr-x 5 root root 128 2009-06-19 10:10 local/ drwxr-xr-x 2 root root 48 2009-06-10 11:39 .mc/ drwxr-xr-x 2 root root 48 2007-05-03 11:05 media/ drwxr-xr-x 3 root root 72 2009-04-23 10:46 mnt/ drwxr-xr-x 11 root root 248 2009-08-27 08:26 opt/ dr-xr-xr-x 68 root root0 2010-01-06 13:40 proc/ drwx-- 12 root root 536 2010-01-06 11:23 root/ drwxr-xr-x 3 root root 9568 2009-05-07 07:14 sbin/ drwxr-xr-x 4 root root 96 2009-04-23 09:45 srv/ drwxr-xr-x 3 root root 72 2009-05-06 20:31 stage/ drwxr-xr-x 2 root root 48 2009-05-11 10:40 swap/ drwxr-xr-x 3 root root 72 2009-05-06 15:38 .swdis/ drwxr-xr-x 11 root root0 2010-01-06 13:40 sys/ drwxrwxrwt 24 root root 1288 2010-01-06 14:00 tmp/ drwxr-xr-x 4 root root 80 2010-01-05 15:54 unused/ drwxr-xr-x 16 root root 424 2009-04-23 11:24 usr/ drwxr-xr-x 2 root root 48 2010-01-05 15:08 usrnew/ drwxr-xr-x 16 root root 392 2009-09-02 11:52 var/ |-Original Message- |From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of |Scott Rohling |Sent: Wednesday, January 06, 2010 10:55 AM |To: LINUX-390@VM.MARIST.EDU |Subject: Re: SLES 10 SP2 upgrade to SLES 10 SP3 error | |Good points .. you're right - that would have been messy. | |And actually - since these are mount points -- no rename is really |necessary |-- just mount the correct device under /usr. | |Scot | |On Wed, Jan 6, 2010 at 9:47 AM, Kim
FW: SLES 10 SP2 upgrade to SLES 10 SP3 error
Thanks to everyone who's replied. I followed the process that was sent in http://www.linuxvm.org/Info/HOWTOs/movefs.html with the following deviation: I had already used yast to activate and format the disk as ReiserFS, and assigned it a mountpoint of /usrnew. I've followed steps 4 and 5. The yast process had already updated /etc/fstab to include the new disk with the /usrnew mount. For step 7, after the "tar" command was done, I edited /etc/fstab to change the mountpoint of /usrnew to /usr, and changed the old /usr to /usrsp2. I then rebooted. "df -h" doesn't show /usrsp2, even though there was an entry for it in /etc/fstab. I then check the partitioner in yast and there is an * besides it name in the column that has the mountpoint name. The /usr below is the new /usr that was just created. The old /usr, which I had updated /etc/fstab with a mountpoint of /usrsp2 doesn't show up under "mount" either. Question 1: What is happening that I can't see the old /usr, which I thought would have been mounted under /usrsp2? Question 2: Is everything OK? Question 3: Why do I still see /usrnew, which is not mounted? It's possible that when I was trying a 'mv" yesterday it was created by me. Question 4: I'm not sure of the purpose of step 8 in the HOWTO. I did the "telinit 1" and then the umount comes back with 'umount: /usr: device is busy', which I think subsequently killed the system. If the old /usr is on a disk that isn't mounted, is it necessary to delete what's on it, since the disk will probably be return to the VM guys for other purposes. Question 5: Is everything OK as it now sits? "df -h": FilesystemSize Used Avail Use% Mounted on /dev/dasdb1 1.2G 158M 1016M 14% / udev 184M 200K 184M 1% /dev /dev/dasda169M 14M 52M 21% /boot /dev/dasdh1 2.3G 85M 2.3G 4% /home /dev/dasdg1 1.2G 843M 331M 72% /opt /dev/dasdd1 1.1G 323M 711M 32% /var /dev/mapper/tmpvg-tmpvol 14G 98M 14G 1% /tmp /dev/dasdq1 2.3G 33M 2.3G 2% /unused /dev/dasdp1 4.6G 1.9G 2.8G 41% /usr "mount": /dev/dasdb1 on / type reiserfs (rw,acl,user_xattr) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) debugfs on /sys/kernel/debug type debugfs (rw) udev on /dev type tmpfs (rw) devpts on /dev/pts type devpts (rw,mode=0620,gid=5) /dev/dasda1 on /boot type ext2 (rw,acl,user_xattr) /dev/dasdh1 on /home type reiserfs (rw,acl,user_xattr) /dev/dasdg1 on /opt type reiserfs (rw,acl,user_xattr) /dev/dasdd1 on /var type reiserfs (rw,acl,user_xattr) /dev/mapper/tmpvg-tmpvol on /tmp type reiserfs (rw,acl,user_xattr) /dev/dasdq1 on /unused type reiserfs (rw,acl,user_xattr) /dev/dasdp1 on /usr type reiserfs (rw,acl,user_xattr) "l" command: total 33 drwxr-xr-x 30 root root 728 2010-01-06 13:40 ./ drwxr-xr-x 30 root root 728 2010-01-06 13:40 ../ drwxr-xr-x 2 root root 2384 2009-04-23 15:10 bin/ drwxr-xr-x 4 root root 4096 2010-01-06 13:40 boot/ drwx-- 8 20631 uuxstaff 584 2009-04-23 15:17 candle/ drwxr-xr-x 9 root root 2800 2010-01-06 13:40 dev/ drwxr-xr-x 81 root root 6928 2010-01-06 13:40 etc/ drwxr-xr-x 16 root root 400 2009-10-23 05:32 home/ lrwxrwxrwx 1 root root5 2009-05-01 13:35 homedir -> /home/ drwxr-xr-x 10 root root 3808 2009-04-23 09:49 lib/ drwxr-xr-x 5 root root 4720 2009-11-11 11:49 lib64/ drwxr-xr-x 5 root root 128 2009-06-19 10:10 local/ drwxr-xr-x 2 root root 48 2009-06-10 11:39 .mc/ drwxr-xr-x 2 root root 48 2007-05-03 11:05 media/ drwxr-xr-x 3 root root 72 2009-04-23 10:46 mnt/ drwxr-xr-x 11 root root 248 2009-08-27 08:26 opt/ dr-xr-xr-x 68 root root0 2010-01-06 13:40 proc/ drwx-- 12 root root 536 2010-01-06 11:23 root/ drwxr-xr-x 3 root root 9568 2009-05-07 07:14 sbin/ drwxr-xr-x 4 root root 96 2009-04-23 09:45 srv/ drwxr-xr-x 3 root root 72 2009-05-06 20:31 stage/ drwxr-xr-x 2 root root 48 2009-05-11 10:40 swap/ drwxr-xr-x 3 root root 72 2009-05-06 15:38 .swdis/ drwxr-xr-x 11 root root0 2010-01-06 13:40 sys/ drwxrwxrwt 24 root root 1288 2010-01-06 14:00 tmp/ drwxr-xr-x 4 root root 80 2010-01-05 15:54 unused/ drwxr-xr-x 16 root root 424 2009-04-23 11:24 usr/ drwxr-xr-x 2 root root 48 2010-01-05 15:08 usrnew/ drwxr-xr-x 16 root root 392 2009-09-02 11:52 var/ ||-Original Message- ||From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of ||Scott Rohling ||Sent: Wednesday, January 06, 2010 10:55 AM ||To: LINUX-390@VM.MARIST.EDU ||Subject: Re: SLES 10 SP2 upgrade to SLES 10 SP3 error || ||Good points .. you're right - that would have been messy. || ||And actually - since these are mount points -- no rename is really ||necessary ||-- just mount the correct device under /usr. || ||Scot || ||On Wed, Jan 6, 2
Re: SLES 10 SP2 upgrade to SLES 10 SP3 error
1) You're old /usr showed up as dasdc1 on your previous posts.. What does lsdasd and cat /etc/fstab look like? Also - does the directory /usrsp2 exist? It must before it can be mounted to. 2) It looks like it :-) 3) You had to create /usrnew directory to mount to it ... now that you don't need it - you need to 'rm -r /usrnew' to get rid of it. Do an ls /usrnew to make sure nothing's under it. 4) That's to unmount/remount things like /usr which will show as busy if you try and unmount them at higher init levels. A reboot works just as well - if you have /etc/fstab setup correctly. 5) See #2 Scott On Wed, Jan 6, 2010 at 1:21 PM, Slaughter, Dale wrote: > Thanks to everyone who's replied. I followed the process that was sent in > http://www.linuxvm.org/Info/HOWTOs/movefs.html > with the following deviation: I had already used yast to activate and > format the disk as ReiserFS, and assigned it a mountpoint of /usrnew. I've > followed steps 4 and 5. The yast process had already updated /etc/fstab to > include the new disk with the /usrnew mount. For step 7, after the "tar" > command was done, I edited /etc/fstab to change the mountpoint of /usrnew to > /usr, and changed the old /usr to /usrsp2. I then rebooted. > > "df -h" doesn't show /usrsp2, even though there was an entry for it in > /etc/fstab. I then check the partitioner in yast and there is an * besides > it name in the column that has the mountpoint name. The /usr below is the > new /usr that was just created. The old /usr, which I had updated > /etc/fstab with a mountpoint of /usrsp2 doesn't show up under "mount" > either. > > Question 1: What is happening that I can't see the old /usr, which I > thought would have been mounted under /usrsp2? > > Question 2: Is everything OK? > > Question 3: Why do I still see /usrnew, which is not mounted? It's > possible that when I was trying a 'mv" yesterday it was created by me. > > Question 4: I'm not sure of the purpose of step 8 in the HOWTO. I did the > "telinit 1" and then the umount comes back with 'umount: /usr: device is > busy', which I think subsequently killed the system. If the old /usr is on > a disk that isn't mounted, is it necessary to delete what's on it, since the > disk will probably be return to the VM guys for other purposes. > > Question 5: Is everything OK as it now sits? > > > > "df -h": > > FilesystemSize Used Avail Use% Mounted on > /dev/dasdb1 1.2G 158M 1016M 14% / > udev 184M 200K 184M 1% /dev > /dev/dasda169M 14M 52M 21% /boot > /dev/dasdh1 2.3G 85M 2.3G 4% /home > /dev/dasdg1 1.2G 843M 331M 72% /opt > /dev/dasdd1 1.1G 323M 711M 32% /var > /dev/mapper/tmpvg-tmpvol > 14G 98M 14G 1% /tmp > /dev/dasdq1 2.3G 33M 2.3G 2% /unused > /dev/dasdp1 4.6G 1.9G 2.8G 41% /usr > > > "mount": > > /dev/dasdb1 on / type reiserfs (rw,acl,user_xattr) > proc on /proc type proc (rw) > sysfs on /sys type sysfs (rw) > debugfs on /sys/kernel/debug type debugfs (rw) > udev on /dev type tmpfs (rw) > devpts on /dev/pts type devpts (rw,mode=0620,gid=5) > /dev/dasda1 on /boot type ext2 (rw,acl,user_xattr) > /dev/dasdh1 on /home type reiserfs (rw,acl,user_xattr) > /dev/dasdg1 on /opt type reiserfs (rw,acl,user_xattr) > /dev/dasdd1 on /var type reiserfs (rw,acl,user_xattr) > /dev/mapper/tmpvg-tmpvol on /tmp type reiserfs (rw,acl,user_xattr) > /dev/dasdq1 on /unused type reiserfs (rw,acl,user_xattr) > /dev/dasdp1 on /usr type reiserfs (rw,acl,user_xattr) > > > "l" command: > > total 33 > drwxr-xr-x 30 root root 728 2010-01-06 13:40 ./ > drwxr-xr-x 30 root root 728 2010-01-06 13:40 ../ > drwxr-xr-x 2 root root 2384 2009-04-23 15:10 bin/ > drwxr-xr-x 4 root root 4096 2010-01-06 13:40 boot/ > drwx-- 8 20631 uuxstaff 584 2009-04-23 15:17 candle/ > drwxr-xr-x 9 root root 2800 2010-01-06 13:40 dev/ > drwxr-xr-x 81 root root 6928 2010-01-06 13:40 etc/ > drwxr-xr-x 16 root root 400 2009-10-23 05:32 home/ > lrwxrwxrwx 1 root root5 2009-05-01 13:35 homedir -> /home/ > drwxr-xr-x 10 root root 3808 2009-04-23 09:49 lib/ > drwxr-xr-x 5 root root 4720 2009-11-11 11:49 lib64/ > drwxr-xr-x 5 root root 128 2009-06-19 10:10 local/ > drwxr-xr-x 2 root root 48 2009-06-10 11:39 .mc/ > drwxr-xr-x 2 root root 48 2007-05-03 11:05 media/ > drwxr-xr-x 3 root root 72 2009-04-23 10:46 mnt/ > drwxr-xr-x 11 root root 248 2009-08-27 08:26 opt/ > dr-xr-xr-x 68 root root0 2010-01-06 13:40 proc/ > drwx-- 12 root root 536 2010-01-06 11:23 root/ > drwxr-xr-x 3 root root 9568 2009-05-07 07:14 sbin/ > drwxr-xr-x 4 root root 96 2009-04-23 09:45 srv/ > drwxr-xr-x 3 root root 72 2009-05-06 20:31 stage/ > drwxr-xr-x 2 root root 48 2009-05-11 10:40 swap/ > drwxr-xr-x 3 root root 72 2009-05-06 15:38
Re: SLES 10 SP2 upgrade to SLES 10 SP3 error
The directories existing before the mount makes sense, and explains what I'm seeing - I knew that at one time. Thanks to everyone that replied - I've learned some things! Output of lsdasd, 0202 was the old /usr, 0208 is the new /usr 0.0.0200(ECKD) at ( 94: 0) is dasda : n/f 0.0.0201(ECKD) at ( 94: 4) is dasdb : n/f 0.0.0202(ECKD) at ( 94: 8) is dasdc : n/f 0.0.0203(ECKD) at ( 94: 12) is dasdd : n/f 0.0.0204(ECKD) at ( 94: 16) is dasde : n/f 0.0.0205(ECKD) at ( 94: 20) is dasdf : n/f 0.0.0206(ECKD) at ( 94: 24) is dasdg : n/f 0.0.0207(ECKD) at ( 94: 28) is dasdh : n/f 0.0.0b00(ECKD) at ( 94: 32) is dasdi : n/f 0.0.0b01(ECKD) at ( 94: 36) is dasdj : n/f 0.0.0104(FBA ) at ( 94: 40) is dasdk : n/f 0.0.0191(ECKD) at ( 94: 44) is dasdl : n/f 0.0.191c(ECKD) at ( 94: 48) is dasdm : n/f 0.0.fb01(ECKD) at ( 94: 52) is dasdn : n/f 0.0.fb00(ECKD) at ( 94: 56) is dasdo : n/f 0.0.0208(ECKD) at ( 94: 60) is dasdp : n/f 0.0.0209(ECKD) at ( 94: 64) is dasdq : n/f /etc/fstab looks like: /dev/disk/by-path/ccw-0.0.0201-part1 / reiserfs acl,user_xattr 1 1 /dev/disk/by-path/ccw-0.0.0200-part1 /boot ext2acl,user_xattr 1 2 /dev/disk/by-path/ccw-0.0.0207-part1 /home reiserfs acl,user_xattr 1 2 /dev/disk/by-path/ccw-0.0.0206-part1 /optreiserfs acl,user_xattr 1 2 /dev/disk/by-path/ccw-0.0.0202-part1 /usrsp2 reiserfs acl,user_xattr 1 2 /dev/disk/by-path/ccw-0.0.0203-part1 /varreiserfs acl,user_xattr 1 2 proc/proc procdefaults 0 0 sysfs /syssysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 devpts /dev/ptsdevpts mode=0620,gid=5 0 0 /dev/tmpvg/tmpvol/tmp reiserfs acl,user_xattr1 2 /dev/disk/by-path/ccw-0.0.0204-part1 swap swap pri=50 0 0 /dev/dasdm1 swap swap pri=100 0 0 /dev/disk/by-path/ccw-0.0.0209-part1 /unused reiserfs acl,user_xattr1 2 /dev/disk/by-path/ccw-0.0.0208-part1 /usr reiserfs acl,user_xattr1 2 |-Original Message- |From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of |Scott Rohling |Sent: Wednesday, January 06, 2010 2:50 PM |To: LINUX-390@VM.MARIST.EDU |Subject: Re: SLES 10 SP2 upgrade to SLES 10 SP3 error | |1) You're old /usr showed up as dasdc1 on your previous posts.. What |does |lsdasd and cat /etc/fstab look like? Also - does the directory /usrsp2 |exist? It must before it can be mounted to. | |2) It looks like it :-) | |3) You had to create /usrnew directory to mount to it ... now that |you |don't need it - you need to 'rm -r /usrnew' to get rid of it. Do an ls |/usrnew to make sure nothing's under it. | |4) That's to unmount/remount things like /usr which will show as busy |if |you try and unmount them at higher init levels. A reboot works just as |well - if you have /etc/fstab setup correctly. | |5) See #2 | | |Scott | |On Wed, Jan 6, 2010 at 1:21 PM, Slaughter, Dale |wrote: | |> Thanks to everyone who's replied. I followed the process that was |sent in |> http://www.linuxvm.org/Info/HOWTOs/movefs.html |> with the following deviation: I had already used yast to activate and |> format the disk as ReiserFS, and assigned it a mountpoint of /usrnew. |I've |> followed steps 4 and 5. The yast process had already updated |/etc/fstab to |> include the new disk with the /usrnew mount. For step 7, after the |"tar" |> command was done, I edited /etc/fstab to change the mountpoint of |/usrnew to |> /usr, and changed the old /usr to /usrsp2. I then rebooted. |> |> "df -h" doesn't show /usrsp2, even though there was an entry for it in |> /etc/fstab. I then check the partitioner in yast and there is an * |besides |> it name in the column that has the mountpoint name. The /usr below is |the |> new /usr that was just created. The old /usr, which I had updated |> /etc/fstab with a mountpoint of /usrsp2 doesn't show up under "mount" |> either. |> |> Question 1: What is happening that I can't see the old /usr, which I |> thought would have been mounted under /usrsp2? |> |> Question 2: Is everything OK? |> |> Question 3: Why do I still see /usrnew, which is not mounted? It's |> possible that when I was trying a 'mv" yesterday it was created by me. |> |> Question 4: I'm not sure of the purpose of step 8 in the HOWTO. I |did the |> "telinit 1" and then the umount comes back with 'umount: /usr: device |is |> busy', which I think subsequently killed the system. If the old /usr |is on |> a disk that isn't mounted, is it necessary to delete what's on it, |since the |> disk will probably be return to the VM guys for other purposes. |> |> Question 5: Is everything OK as it now sits? |> |> |> |> "df -h": |> |> FilesystemSize Used Avail Use% Mounted on |> /dev/dasdb1 1.2G 158M 1016M 14% / |> udev
FW: SLES 10 SP2 upgrade to SLES 10 SP3 error
The directories existing before the mount makes sense, and explains what I'm seeing. Thanks to everyone that replied - I've learned some things! Output of lsdasd, 0202 was the old /usr, 0208 is the new /usr 0.0.0200(ECKD) at ( 94: 0) is dasda : n/f 0.0.0201(ECKD) at ( 94: 4) is dasdb : n/f 0.0.0202(ECKD) at ( 94: 8) is dasdc : n/f 0.0.0203(ECKD) at ( 94: 12) is dasdd : n/f 0.0.0204(ECKD) at ( 94: 16) is dasde : n/f 0.0.0205(ECKD) at ( 94: 20) is dasdf : n/f 0.0.0206(ECKD) at ( 94: 24) is dasdg : n/f 0.0.0207(ECKD) at ( 94: 28) is dasdh : n/f 0.0.0b00(ECKD) at ( 94: 32) is dasdi : n/f 0.0.0b01(ECKD) at ( 94: 36) is dasdj : n/f 0.0.0104(FBA ) at ( 94: 40) is dasdk : n/f 0.0.0191(ECKD) at ( 94: 44) is dasdl : n/f 0.0.191c(ECKD) at ( 94: 48) is dasdm : n/f 0.0.fb01(ECKD) at ( 94: 52) is dasdn : n/f 0.0.fb00(ECKD) at ( 94: 56) is dasdo : n/f 0.0.0208(ECKD) at ( 94: 60) is dasdp : n/f 0.0.0209(ECKD) at ( 94: 64) is dasdq : n/f /etc/fstab looks like: /dev/disk/by-path/ccw-0.0.0201-part1 / reiserfs acl,user_xattr 1 1 /dev/disk/by-path/ccw-0.0.0200-part1 /boot ext2acl,user_xattr 1 2 /dev/disk/by-path/ccw-0.0.0207-part1 /home reiserfs acl,user_xattr 1 2 /dev/disk/by-path/ccw-0.0.0206-part1 /optreiserfs acl,user_xattr 1 2 /dev/disk/by-path/ccw-0.0.0202-part1 /usrsp2 reiserfs acl,user_xattr 1 2 /dev/disk/by-path/ccw-0.0.0203-part1 /varreiserfs acl,user_xattr 1 2 proc/proc procdefaults 0 0 sysfs /syssysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 devpts /dev/ptsdevpts mode=0620,gid=5 0 0 /dev/tmpvg/tmpvol/tmp reiserfs acl,user_xattr 1 2 /dev/disk/by-path/ccw-0.0.0204-part1 swap swap pri=50 0 0 /dev/dasdm1 swap swap pri=100 0 0 /dev/disk/by-path/ccw-0.0.0209-part1 /unused reiserfs acl,user_xattr1 2 /dev/disk/by-path/ccw-0.0.0208-part1 /usr reiserfs acl,user_xattr1 2 ||-Original Message- ||From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of ||Scott Rohling ||Sent: Wednesday, January 06, 2010 2:50 PM ||To: LINUX-390@VM.MARIST.EDU ||Subject: Re: SLES 10 SP2 upgrade to SLES 10 SP3 error || ||1) You're old /usr showed up as dasdc1 on your previous posts.. What ||does ||lsdasd and cat /etc/fstab look like? Also - does the directory /usrsp2 ||exist? It must before it can be mounted to. || ||2) It looks like it :-) || ||3) You had to create /usrnew directory to mount to it ... now that ||you ||don't need it - you need to 'rm -r /usrnew' to get rid of it. Do an |ls ||/usrnew to make sure nothing's under it. || ||4) That's to unmount/remount things like /usr which will show as busy ||if ||you try and unmount them at higher init levels. A reboot works just |as ||well - if you have /etc/fstab setup correctly. || ||5) See #2 || || ||Scott || ||On Wed, Jan 6, 2010 at 1:21 PM, Slaughter, Dale ||wrote: || ||> Thanks to everyone who's replied. I followed the process that was ||sent in ||> http://www.linuxvm.org/Info/HOWTOs/movefs.html ||> with the following deviation: I had already used yast to activate |and ||> format the disk as ReiserFS, and assigned it a mountpoint of /usrnew. ||I've ||> followed steps 4 and 5. The yast process had already updated ||/etc/fstab to ||> include the new disk with the /usrnew mount. For step 7, after the ||"tar" ||> command was done, I edited /etc/fstab to change the mountpoint of ||/usrnew to ||> /usr, and changed the old /usr to /usrsp2. I then rebooted. ||> ||> "df -h" doesn't show /usrsp2, even though there was an entry for it |in ||> /etc/fstab. I then check the partitioner in yast and there is an * ||besides ||> it name in the column that has the mountpoint name. The /usr below |is ||the ||> new /usr that was just created. The old /usr, which I had updated ||> /etc/fstab with a mountpoint of /usrsp2 doesn't show up under "mount" ||> either. ||> ||> Question 1: What is happening that I can't see the old /usr, which I ||> thought would have been mounted under /usrsp2? ||> ||> Question 2: Is everything OK? ||> ||> Question 3: Why do I still see /usrnew, which is not mounted? It's ||> possible that when I was trying a 'mv" yesterday it was created by |me. ||> ||> Question 4: I'm not sure of the purpose of step 8 in the HOWTO. I ||did the ||> "telinit 1" and then the umount comes back with 'umount: /usr: device ||is ||> busy', which I think subsequently killed the system. If the old /usr ||is on ||> a disk that isn't mounted, is it necessary to delete what's on it, ||since the ||> disk will probably be return to the VM guys for other purposes. ||> ||> Question 5: Is everything OK as it now sits? ||> ||> ||> ||> "df -h": ||> ||> FilesystemSize Used Avail Use% Mounted on ||> /dev/dasdb1 1.2G 158M 1016M 1
Install of SLES 11 via FTP...
I'm having installing SLES 11 via FTP into a virtual machine. I get to the point where I'm receiving: *** No repository found. I'm thinking that it's my directory structure on the FTP server. I entered the following: Enter the IP address of the FTP server Ý10.2.0.99¨> Enter the directory on the server Ý/pub/outgoing/Suse/SUSE¨> Do you need a username and password to access the FTP server? 1) Yes 2) No > 2 Use a HTTP proxy? 1) Yes 2) No > 2 *** No repository found. - Here's how I have it structured: 230 Anonymous user logged in ftp> pwd 257 "/" is your current location ftp> cd pub 250 OK. Current directory is /pub ftp> cd outgoing 250 OK. Current directory is /pub/outgoing ftp> cd Suse 250 OK. Current directory is /pub/outgoing/Suse ftp> ls 200 PORT command successful 150 Connecting to port 5001 . .. ARCHIVES.GZ BOOT CHANGELO CONTENT CONTENT.ASC CONTENT.KEY CONTROL.XML COPYING COPYING.DE COPYRIGH COPYRIGH.DE DIRECTOR.YAS DOCU GPG_P000.ASC GPG_P001.ASC GPG_P002.ASC GPG_P003.ASC GPG_P004.ASC GPG_P005.ASC GPG_PUBK.ASC INDEX.GZ LICENSE.TGZ LS_LR.GZ MEDIA.1 NEWS PUBRING.GPG README SUSE SUSE.INS 226-Options: -a 226 31 matches total ftp: 331 bytes received in 0.02Seconds 20.69Kbytes/sec. ftp> TIA, Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE & RHCE American Income Life Insurance Co. Phone: (254)761-6649 1200 Wooded Acres Dr.Fax: (254)741-5777 Waco, Texas 76710 _ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@ailife.com. -- 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
Re: Install of SLES 11 via FTP...
>>> On 1/6/2010 at 4:19 PM, "Frank M. Ramaekers" >>> wrote: > I'm having installing SLES 11 via FTP into a virtual machine. I get to the > point where I'm receiving: *** No repository found. > > I'm thinking that it's my directory structure on the FTP server. There's no way all those file names should be in upper case. What are you using for your FTP server, and how did you get the installation files to it? Mark Post -- 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
Re: Install of SLES 11 via FTP...
I'm thinking you don't want that extra 'SUSE' -- just /pub/outgoing/Suse for the directory on the server... ? Scott On Wed, Jan 6, 2010 at 2:19 PM, Frank M. Ramaekers wrote: > I'm having installing SLES 11 via FTP into a virtual machine. I get to > the point where I'm receiving: *** No repository found. > > I'm thinking that it's my directory structure on the FTP server. > > I entered the following: > > Enter the IP address of the FTP server > Ý10.2.0.99¨> > > Enter the directory on the server > Ý/pub/outgoing/Suse/SUSE¨> > > Do you need a username and password to access the FTP server? > > 1) Yes > 2) No > > > 2 > > Use a HTTP proxy? > > 1) Yes > 2) No > > > 2 > > *** No repository found. > > - > Here's how I have it structured: > > 230 Anonymous user logged in > ftp> pwd > 257 "/" is your current location > ftp> cd pub > 250 OK. Current directory is /pub > ftp> cd outgoing > 250 OK. Current directory is /pub/outgoing > ftp> cd Suse > 250 OK. Current directory is /pub/outgoing/Suse > ftp> ls > 200 PORT command successful > 150 Connecting to port 5001 > . > .. > ARCHIVES.GZ > BOOT > CHANGELO > CONTENT > CONTENT.ASC > CONTENT.KEY > CONTROL.XML > COPYING > COPYING.DE > COPYRIGH > COPYRIGH.DE > DIRECTOR.YAS > DOCU > GPG_P000.ASC > GPG_P001.ASC > GPG_P002.ASC > GPG_P003.ASC > GPG_P004.ASC > GPG_P005.ASC > GPG_PUBK.ASC > INDEX.GZ > LICENSE.TGZ > LS_LR.GZ > MEDIA.1 > NEWS > PUBRING.GPG > README > SUSE > SUSE.INS > 226-Options: -a > 226 31 matches total > ftp: 331 bytes received in 0.02Seconds 20.69Kbytes/sec. > ftp> > > TIA, > > Frank M. Ramaekers Jr. > Systems Programmer MCP, MCP+I, MCSE & RHCE > American Income Life Insurance Co. Phone: (254)761-6649 > 1200 Wooded Acres Dr.Fax: (254)741-5777 > Waco, Texas 76710 > > > > > > > _ > This message contains information which is privileged and confidential and > is solely for the use of the > intended recipient. If you are not the intended recipient, be aware that > any review, disclosure, > copying, distribution, or use of the contents of this message is strictly > prohibited. If you have > received this in error, please destroy it immediately and notify us at > privacy...@ailife.com. > > -- > 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 > -- 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
Re: Install of SLES 11 via FTP...
I downloaded the DVD images (ISO). Extracted the files onto a SMB share (Samba on a Linux server) via WinAce. They show as uppercase in the WinAce display of the contents of the ISO. These are the two ISOs I have: 12/14/2009 01:58 PM 2,833,274,880 SLES-11-DVD-s390x-GM-DVD1.iso 12/14/2009 01:16 PM 932,233,216 SLES-11-DVD-s390x-GM-DVD2.iso Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE & RHCE American Income Life Insurance Co. Phone: (254)761-6649 1200 Wooded Acres Dr.Fax: (254)741-5777 Waco, Texas 76710 -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Mark Post Sent: Wednesday, January 06, 2010 3:26 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Install of SLES 11 via FTP... >>> On 1/6/2010 at 4:19 PM, "Frank M. Ramaekers" wrote: > I'm having installing SLES 11 via FTP into a virtual machine. I get to the > point where I'm receiving: *** No repository found. > > I'm thinking that it's my directory structure on the FTP server. There's no way all those file names should be in upper case. What are you using for your FTP server, and how did you get the installation files to it? Mark Post -- 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 _ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@ailife.com. -- 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
Re: Install of SLES 11 via FTP...
H...I could try that, but I tried to stay with the way the DVDs are layed out (/pub/outgoing/Suse being equivalent to the root of the DVDs). Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE & RHCE American Income Life Insurance Co. Phone: (254)761-6649 1200 Wooded Acres Dr.Fax: (254)741-5777 Waco, Texas 76710 -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Scott Rohling Sent: Wednesday, January 06, 2010 3:30 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Install of SLES 11 via FTP... I'm thinking you don't want that extra 'SUSE' -- just /pub/outgoing/Suse for the directory on the server... ? Scott On Wed, Jan 6, 2010 at 2:19 PM, Frank M. Ramaekers wrote: > I'm having installing SLES 11 via FTP into a virtual machine. I get to > the point where I'm receiving: *** No repository found. > > I'm thinking that it's my directory structure on the FTP server. > > I entered the following: > > Enter the IP address of the FTP server > Ý10.2.0.99¨> > > Enter the directory on the server > Ý/pub/outgoing/Suse/SUSE¨> > > Do you need a username and password to access the FTP server? > > 1) Yes > 2) No > > > 2 > > Use a HTTP proxy? > > 1) Yes > 2) No > > > 2 > > *** No repository found. > > - > Here's how I have it structured: > > 230 Anonymous user logged in > ftp> pwd > 257 "/" is your current location > ftp> cd pub > 250 OK. Current directory is /pub > ftp> cd outgoing > 250 OK. Current directory is /pub/outgoing > ftp> cd Suse > 250 OK. Current directory is /pub/outgoing/Suse > ftp> ls > 200 PORT command successful > 150 Connecting to port 5001 > . > .. > ARCHIVES.GZ > BOOT > CHANGELO > CONTENT > CONTENT.ASC > CONTENT.KEY > CONTROL.XML > COPYING > COPYING.DE > COPYRIGH > COPYRIGH.DE > DIRECTOR.YAS > DOCU > GPG_P000.ASC > GPG_P001.ASC > GPG_P002.ASC > GPG_P003.ASC > GPG_P004.ASC > GPG_P005.ASC > GPG_PUBK.ASC > INDEX.GZ > LICENSE.TGZ > LS_LR.GZ > MEDIA.1 > NEWS > PUBRING.GPG > README > SUSE > SUSE.INS > 226-Options: -a > 226 31 matches total > ftp: 331 bytes received in 0.02Seconds 20.69Kbytes/sec. > ftp> > > TIA, > > Frank M. Ramaekers Jr. > Systems Programmer MCP, MCP+I, MCSE & RHCE > American Income Life Insurance Co. Phone: (254)761-6649 > 1200 Wooded Acres Dr.Fax: (254)741-5777 > Waco, Texas 76710 > > > > > > > _ > This message contains information which is privileged and confidential and > is solely for the use of the > intended recipient. If you are not the intended recipient, be aware that > any review, disclosure, > copying, distribution, or use of the contents of this message is strictly > prohibited. If you have > received this in error, please destroy it immediately and notify us at > privacy...@ailife.com. > > -- > 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 > -- 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 _ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@ailife.com. -- 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
Re: Install of SLES 11 via FTP...
Hi, Frank. I've just installed SLES11 via the ftp method here on a z/VM 5.4 system and I had no trouble. Two things to check: 1) I think you might have one too many "SUSE" in the directory pathuse /pub/outgoing/Suse instead of /pub/outgoing/Suse/SUSE 2) what type of FTP server (Linux on Intel, Windows, Mac, etc.) are you using? There are known problems with the Windows FTP server not following the RFCs exactly. On 01/06/2010 03:19 PM, Frank M. Ramaekers wrote: I'm having installing SLES 11 via FTP into a virtual machine. I get to the point where I'm receiving: *** No repository found. I'm thinking that it's my directory structure on the FTP server. I entered the following: Enter the IP address of the FTP server Ý10.2.0.99¨> Enter the directory on the server Ý/pub/outgoing/Suse/SUSE¨> Do you need a username and password to access the FTP server? 1) Yes 2) No 2 Use a HTTP proxy? 1) Yes 2) No 2 *** No repository found. - Here's how I have it structured: 230 Anonymous user logged in ftp> pwd 257 "/" is your current location ftp> cd pub 250 OK. Current directory is /pub ftp> cd outgoing 250 OK. Current directory is /pub/outgoing ftp> cd Suse 250 OK. Current directory is /pub/outgoing/Suse ftp> ls 200 PORT command successful 150 Connecting to port 5001 . .. ARCHIVES.GZ BOOT CHANGELO CONTENT CONTENT.ASC CONTENT.KEY CONTROL.XML COPYING COPYING.DE COPYRIGH COPYRIGH.DE DIRECTOR.YAS DOCU GPG_P000.ASC GPG_P001.ASC GPG_P002.ASC GPG_P003.ASC GPG_P004.ASC GPG_P005.ASC GPG_PUBK.ASC INDEX.GZ LICENSE.TGZ LS_LR.GZ MEDIA.1 NEWS PUBRING.GPG README SUSE SUSE.INS 226-Options: -a 226 31 matches total ftp: 331 bytes received in 0.02Seconds 20.69Kbytes/sec. ftp> TIA, Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE& RHCE American Income Life Insurance Co. Phone: (254)761-6649 1200 Wooded Acres Dr.Fax: (254)741-5777 Waco, Texas 76710 _ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@ailife.com. -- 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 -- Dave Jones V/Soft www.vsoft-software.com Houston, TX 281.578.7544 -- 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
Re: Install of SLES 11 via FTP...
That's exactly what you want to specify to the install scriptthe path to the "root" of the DVD, i.e., the mount point of the DVD. On 01/06/2010 03:37 PM, Frank M. Ramaekers wrote: H...I could try that, but I tried to stay with the way the DVDs are layed out (/pub/outgoing/Suse being equivalent to the root of the DVDs). Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE& RHCE American Income Life Insurance Co. Phone: (254)761-6649 1200 Wooded Acres Dr.Fax: (254)741-5777 Waco, Texas 76710 -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Scott Rohling Sent: Wednesday, January 06, 2010 3:30 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Install of SLES 11 via FTP... I'm thinking you don't want that extra 'SUSE' -- just /pub/outgoing/Suse for the directory on the server... ? Scott On Wed, Jan 6, 2010 at 2:19 PM, Frank M. Ramaekerswrote: I'm having installing SLES 11 via FTP into a virtual machine. I get to the point where I'm receiving: *** No repository found. I'm thinking that it's my directory structure on the FTP server. I entered the following: Enter the IP address of the FTP server Ý10.2.0.99¨> Enter the directory on the server Ý/pub/outgoing/Suse/SUSE¨> Do you need a username and password to access the FTP server? 1) Yes 2) No 2 Use a HTTP proxy? 1) Yes 2) No 2 *** No repository found. - Here's how I have it structured: 230 Anonymous user logged in ftp> pwd 257 "/" is your current location ftp> cd pub 250 OK. Current directory is /pub ftp> cd outgoing 250 OK. Current directory is /pub/outgoing ftp> cd Suse 250 OK. Current directory is /pub/outgoing/Suse ftp> ls 200 PORT command successful 150 Connecting to port 5001 . .. ARCHIVES.GZ BOOT CHANGELO CONTENT CONTENT.ASC CONTENT.KEY CONTROL.XML COPYING COPYING.DE COPYRIGH COPYRIGH.DE DIRECTOR.YAS DOCU GPG_P000.ASC GPG_P001.ASC GPG_P002.ASC GPG_P003.ASC GPG_P004.ASC GPG_P005.ASC GPG_PUBK.ASC INDEX.GZ LICENSE.TGZ LS_LR.GZ MEDIA.1 NEWS PUBRING.GPG README SUSE SUSE.INS 226-Options: -a 226 31 matches total ftp: 331 bytes received in 0.02Seconds 20.69Kbytes/sec. ftp> TIA, Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE& RHCE American Income Life Insurance Co. Phone: (254)761-6649 1200 Wooded Acres Dr.Fax: (254)741-5777 Waco, Texas 76710 _ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@ailife.com. -- 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 -- 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 _ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@ailife.com. -- 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 -- Dave Jones V/Soft www.vsoft-software.com Houston, TX 281.578.7544 -- 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
Re: Install of SLES 11 via FTP...
Oh, I did try specifying just /pub/outgoing/Suse as well It's on a Linux server with Pure-FTPD. Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE & RHCE American Income Life Insurance Co. Phone: (254)761-6649 1200 Wooded Acres Dr.Fax: (254)741-5777 Waco, Texas 76710 -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Dave Jones Sent: Wednesday, January 06, 2010 3:37 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Install of SLES 11 via FTP... Hi, Frank. I've just installed SLES11 via the ftp method here on a z/VM 5.4 system and I had no trouble. Two things to check: 1) I think you might have one too many "SUSE" in the directory pathuse /pub/outgoing/Suse instead of /pub/outgoing/Suse/SUSE 2) what type of FTP server (Linux on Intel, Windows, Mac, etc.) are you using? There are known problems with the Windows FTP server not following the RFCs exactly. On 01/06/2010 03:19 PM, Frank M. Ramaekers wrote: > I'm having installing SLES 11 via FTP into a virtual machine. I get > to the point where I'm receiving: *** No repository found. > > I'm thinking that it's my directory structure on the FTP server. > > I entered the following: > > Enter the IP address of the FTP server Ý10.2.0.99¨> > > Enter the directory on the server Ý/pub/outgoing/Suse/SUSE¨> > > Do you need a username and password to access the FTP server? > > 1) Yes 2) No > >> 2 > > Use a HTTP proxy? > > 1) Yes 2) No > >> 2 > > *** No repository found. > > - > Here's how I have it structured: > > 230 Anonymous user logged in ftp> pwd 257 "/" is your current > location ftp> cd pub 250 OK. Current directory is /pub ftp> cd > outgoing 250 OK. Current directory is /pub/outgoing ftp> cd Suse 250 > OK. Current directory is /pub/outgoing/Suse ftp> ls 200 PORT command > successful 150 Connecting to port 5001 . .. ARCHIVES.GZ BOOT > CHANGELO CONTENT CONTENT.ASC CONTENT.KEY CONTROL.XML COPYING > COPYING.DE COPYRIGH COPYRIGH.DE DIRECTOR.YAS DOCU GPG_P000.ASC > GPG_P001.ASC GPG_P002.ASC GPG_P003.ASC GPG_P004.ASC GPG_P005.ASC > GPG_PUBK.ASC INDEX.GZ LICENSE.TGZ LS_LR.GZ MEDIA.1 NEWS PUBRING.GPG > README SUSE SUSE.INS 226-Options: -a 226 31 matches total ftp: 331 > bytes received in 0.02Seconds 20.69Kbytes/sec. ftp> > > TIA, > > Frank M. Ramaekers Jr. Systems Programmer MCP, > MCP+I, MCSE& RHCE American Income Life Insurance Co. Phone: > (254)761-6649 1200 Wooded Acres Dr.Fax: > (254)741-5777 Waco, Texas 76710 > > > > > > _ This message > contains information which is privileged and confidential and is > solely for the use of the intended recipient. If you are not the > intended recipient, be aware that any review, disclosure, copying, > distribution, or use of the contents of this message is strictly > prohibited. If you have received this in error, please destroy it > immediately and notify us at privacy...@ailife.com. > > -- > > 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 -- Dave Jones V/Soft www.vsoft-software.com Houston, TX 281.578.7544 -- 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 _ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@ailife.com. -- 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
Re: Install of SLES 11 via FTP...
Yeah, I did try /pub/outgoing/Suse as well (just didn't show it in the post). Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE & RHCE American Income Life Insurance Co. Phone: (254)761-6649 1200 Wooded Acres Dr.Fax: (254)741-5777 Waco, Texas 76710 -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Dave Jones Sent: Wednesday, January 06, 2010 3:38 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Install of SLES 11 via FTP... That's exactly what you want to specify to the install scriptthe path to the "root" of the DVD, i.e., the mount point of the DVD. On 01/06/2010 03:37 PM, Frank M. Ramaekers wrote: > H...I could try that, but I tried to stay with the way the DVDs are layed > out (/pub/outgoing/Suse being equivalent to the root of the DVDs). > > Frank M. Ramaekers Jr. > Systems Programmer MCP, MCP+I, MCSE& RHCE > American Income Life Insurance Co. Phone: (254)761-6649 > 1200 Wooded Acres Dr.Fax: (254)741-5777 > Waco, Texas 76710 > > -Original Message- > From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Scott > Rohling > Sent: Wednesday, January 06, 2010 3:30 PM > To: LINUX-390@VM.MARIST.EDU > Subject: Re: Install of SLES 11 via FTP... > > I'm thinking you don't want that extra 'SUSE' -- just /pub/outgoing/Suse > for the directory on the server... ? > > Scott > > On Wed, Jan 6, 2010 at 2:19 PM, Frank M. > Ramaekerswrote: > >> I'm having installing SLES 11 via FTP into a virtual machine. I get to >> the point where I'm receiving: *** No repository found. >> >> I'm thinking that it's my directory structure on the FTP server. >> >> I entered the following: >> >> Enter the IP address of the FTP server >> Ý10.2.0.99¨> >> >> Enter the directory on the server >> Ý/pub/outgoing/Suse/SUSE¨> >> >> Do you need a username and password to access the FTP server? >> >> 1) Yes >> 2) No >> >>> 2 >> >> Use a HTTP proxy? >> >> 1) Yes >> 2) No >> >>> 2 >> >> *** No repository found. >> >> - >> Here's how I have it structured: >> >> 230 Anonymous user logged in >> ftp> pwd >> 257 "/" is your current location >> ftp> cd pub >> 250 OK. Current directory is /pub >> ftp> cd outgoing >> 250 OK. Current directory is /pub/outgoing >> ftp> cd Suse >> 250 OK. Current directory is /pub/outgoing/Suse >> ftp> ls >> 200 PORT command successful >> 150 Connecting to port 5001 >> . >> .. >> ARCHIVES.GZ >> BOOT >> CHANGELO >> CONTENT >> CONTENT.ASC >> CONTENT.KEY >> CONTROL.XML >> COPYING >> COPYING.DE >> COPYRIGH >> COPYRIGH.DE >> DIRECTOR.YAS >> DOCU >> GPG_P000.ASC >> GPG_P001.ASC >> GPG_P002.ASC >> GPG_P003.ASC >> GPG_P004.ASC >> GPG_P005.ASC >> GPG_PUBK.ASC >> INDEX.GZ >> LICENSE.TGZ >> LS_LR.GZ >> MEDIA.1 >> NEWS >> PUBRING.GPG >> README >> SUSE >> SUSE.INS >> 226-Options: -a >> 226 31 matches total >> ftp: 331 bytes received in 0.02Seconds 20.69Kbytes/sec. >> ftp> >> >> TIA, >> >> Frank M. Ramaekers Jr. >> Systems Programmer MCP, MCP+I, MCSE& RHCE >> American Income Life Insurance Co. Phone: (254)761-6649 >> 1200 Wooded Acres Dr.Fax: (254)741-5777 >> Waco, Texas 76710 >> >> >> >> >> >> >> _ >> This message contains information which is privileged and confidential and >> is solely for the use of the >> intended recipient. If you are not the intended recipient, be aware that >> any review, disclosure, >> copying, distribution, or use of the contents of this message is strictly >> prohibited. If you have >> received this in error, please destroy it immediately and notify us at >> privacy...@ailife.com. >> >> -- >> 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 >> > > -- > 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 > > _ > This message contains information which is privileged and confidential and is > solely for the use of the > intended recipient. If you are not the intended recipient, be aware that any > review, disclosure, > copying, distribution, or use of the contents of this message is strictly > prohibited. If you have > received this in error, please destroy it immediately and notify us at > privacy...@ailife.com. > > -- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: IN
Re: Install of SLES 11 via FTP...
>>> On 1/6/2010 at 4:36 PM, "Frank M. Ramaekers" >>> wrote: > I downloaded the DVD images (ISO). Extracted the files onto a SMB share > (Samba on a Linux server) via WinAce. > > They show as uppercase in the WinAce display of the contents of the ISO. > > These are the two ISOs I have: > > 12/14/2009 01:58 PM 2,833,274,880 SLES-11-DVD-s390x-GM-DVD1.iso > 12/14/2009 01:16 PM 932,233,216 SLES-11-DVD-s390x-GM-DVD2.iso >From what I can tell, using a Windows tool to extract the files totally messed >up your file names. That's the root cause of your problem. Where exactly is >the ISO image located? On the Windows machine, or on a Linux machine? >(Please say Linux, but even if not, you can work around it.) Once you get the file name problem fixed, you will want to specify /pub/outgoing/Suse as your FTP directory path, not one level down to /pub/outgoing/Suse/suse (which will be the name once the file names are fixed). Mark Post -- 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
Re: Install of SLES 11 via FTP...
You may be onto something. I decided to actually burn the DVD and lo and behold the file names are NOT uppercased and in 8.3 format. So, off I go to rebuilding the directory (for FTP purposes). Please stand by... Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE & RHCE American Income Life Insurance Co. Phone: (254)761-6649 1200 Wooded Acres Dr.Fax: (254)741-5777 Waco, Texas 76710 -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Mark Post Sent: Wednesday, January 06, 2010 3:26 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Install of SLES 11 via FTP... >>> On 1/6/2010 at 4:19 PM, "Frank M. Ramaekers" wrote: > I'm having installing SLES 11 via FTP into a virtual machine. I get to the > point where I'm receiving: *** No repository found. > > I'm thinking that it's my directory structure on the FTP server. There's no way all those file names should be in upper case. What are you using for your FTP server, and how did you get the installation files to it? Mark Post -- 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 _ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@ailife.com. -- 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
Re: Install of SLES 11 via FTP...
Your problem is that all the file names are in upper-case (or perhaps that the FTP server is reporting them that way). I ran into a slightly different example of this problem using a Windows FTP client to transfer the files from a physical SLES 10 DVD in my desktop to a Linux FTP server, which I then attempted to install from. The Windows FTP client smashed the case of the filenames to all-lower and the YaST installer failed once it started looking for RPM packages. A different, case-preserving Windows FTP client was engaged, and the installer magically began working again. ok r. > -Original Message- > From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On > Behalf Of Frank M. Ramaekers > Sent: Wednesday, January 06, 2010 1:44 PM > To: LINUX-390@VM.MARIST.EDU > Subject: Re: Install of SLES 11 via FTP... > > Yeah, I did try /pub/outgoing/Suse as well (just didn't show > it in the post). > > Frank M. Ramaekers Jr. > Systems Programmer MCP, MCP+I, MCSE & RHCE > American Income Life Insurance Co. Phone: (254)761-6649 > 1200 Wooded Acres Dr.Fax: (254)741-5777 > Waco, Texas 76710 > > -Original Message- > From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On > Behalf Of Dave Jones > Sent: Wednesday, January 06, 2010 3:38 PM > To: LINUX-390@VM.MARIST.EDU > Subject: Re: Install of SLES 11 via FTP... > > That's exactly what you want to specify to the install > scriptthe path to the "root" of the DVD, i.e., the mount > point of the DVD. > > On 01/06/2010 03:37 PM, Frank M. Ramaekers wrote: > > H...I could try that, but I tried to stay with the way > the DVDs are layed out (/pub/outgoing/Suse being equivalent > to the root of the DVDs). > > > > Frank M. Ramaekers Jr. > > Systems Programmer MCP, MCP+I, MCSE& RHCE > > American Income Life Insurance Co. Phone: (254)761-6649 > > 1200 Wooded Acres Dr.Fax: (254)741-5777 > > Waco, Texas 76710 > > > > -Original Message- > > From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On > Behalf Of > > Scott Rohling > > Sent: Wednesday, January 06, 2010 3:30 PM > > To: LINUX-390@VM.MARIST.EDU > > Subject: Re: Install of SLES 11 via FTP... > > > > I'm thinking you don't want that extra 'SUSE' -- just > > /pub/outgoing/Suse for the directory on the server... ? > > > > Scott > > > > On Wed, Jan 6, 2010 at 2:19 PM, Frank M. > Ramaekerswrote: > > > >> I'm having installing SLES 11 via FTP into a virtual > machine. I get to > >> the point where I'm receiving: *** No repository found. > >> > >> I'm thinking that it's my directory structure on the FTP server. > >> > >> I entered the following: > >> > >> Enter the IP address of the FTP server Ý10.2.0.99¨> > >> > >> Enter the directory on the server > >> Ý/pub/outgoing/Suse/SUSE¨> > >> > >> Do you need a username and password to access the FTP server? > >> > >> 1) Yes > >> 2) No > >> > >>> 2 > >> > >> Use a HTTP proxy? > >> > >> 1) Yes > >> 2) No > >> > >>> 2 > >> > >> *** No repository found. > >> > >> - > >> Here's how I have it structured: > >> > >> 230 Anonymous user logged in > >> ftp> pwd > >> 257 "/" is your current location > >> ftp> cd pub > >> 250 OK. Current directory is /pub > >> ftp> cd outgoing > >> 250 OK. Current directory is /pub/outgoing > >> ftp> cd Suse > >> 250 OK. Current directory is /pub/outgoing/Suse > >> ftp> ls > >> 200 PORT command successful > >> 150 Connecting to port 5001 > >> . > >> .. > >> ARCHIVES.GZ > >> BOOT > >> CHANGELO > >> CONTENT > >> CONTENT.ASC > >> CONTENT.KEY > >> CONTROL.XML > >> COPYING > >> COPYING.DE > >> COPYRIGH > >> COPYRIGH.DE > >> DIRECTOR.YAS > >> DOCU > >> GPG_P000.ASC > >> GPG_P001.ASC > >> GPG_P002.ASC > >> GPG_P003.ASC > >> GPG_P004.ASC > >> GPG_P005.ASC > >> GPG_PUBK.ASC > >> INDEX.GZ > >> LICENSE.TGZ > >> LS_LR.GZ > >> MEDIA.1 > >> NEWS > >> PUBRING.GPG > >> README > >> SUSE > >> SUSE.INS > >> 226-Options: -a > >> 226 31 matches total > >> ftp: 331 bytes received in 0.02Seconds 20.69Kbytes/sec. > >> ftp> > >> > >> TIA, > >> > >> Frank M. Ramaekers Jr. > >> Systems Programmer MCP, MCP+I, MCSE& RHCE > >> American Income Life Insurance Co. Phone: (254)761-6649 > >> 1200 Wooded Acres Dr.Fax: (254)741-5777 > >> Waco, Texas 76710 > >> > >> > >> > >> > >> > >> > >> _ > >> This message contains information which is privileged and > >> confidential and is solely for the use of the intended > recipient. If > >> you are not the intended recipient, be aware that any review, > >> disclosure, copying, distribution, or use of the contents of this > >> message is strictly prohibited. If you have received this > in error, > >> please destroy it immediately and notify us at > privacy...@ailife.com. > >> > >> > - >
Re: Install of SLES 11 via FTP...
Frank M. Ramaekers wrote: Yeah, I did try /pub/outgoing/Suse as well (just didn't show it in the post). Didn't read previous thread non-standard port for the FTP server? -- Jack J. Woehr# Reality is unpredictable, and no amount of computer technology http://www.well.com/~jax # is going to change that. - David Brooks, conservative pundit, http://www.softwoehr.com # "The God That Fails", 2009-12-31 New York Times -- 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
Re: Install of SLES 11 via FTP...
On Wednesday, 01/06/2010 at 04:54 EST, Mark Post wrote: > >>> On 1/6/2010 at 4:36 PM, "Frank M. Ramaekers" wrote: > > I downloaded the DVD images (ISO). Extracted the files onto a SMB share > > (Samba on a Linux server) via WinAce. > > > > They show as uppercase in the WinAce display of the contents of the ISO. > > > > These are the two ISOs I have: > > > > 12/14/2009 01:58 PM 2,833,274,880 SLES-11-DVD-s390x-GM-DVD1.iso > > 12/14/2009 01:16 PM 932,233,216 SLES-11-DVD-s390x-GM-DVD2.iso > > From what I can tell, using a Windows tool to extract the files totally messed > up your file names. That's the root cause of your problem. Where exactly is > the ISO image located? On the Windows machine, or on a Linux machine? (Please > say Linux, but even if not, you can work around it.) > > Once you get the file name problem fixed, you will want to specify > /pub/outgoing/Suse as your FTP directory path, not one level down to > /pub/outgoing/Suse/suse (which will be the name once the file names are fixed). Windows does not support the Red Rock ISO 9660 extension that is used for long names and symbolic links on a CD/DVD and, IIRC, the SuSE DVDs contain symlinks. (Maybe Windows 7 has added the support - I don't know.) Alan Altmark z/VM Development IBM Endicott -- 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
Re: Install of SLES 11 via FTP...
>>> On 1/6/2010 at 5:26 PM, Alan Altmark wrote: -snip- > ... IIRC, the SuSE DVDs contain symlinks. No, they don't. I did see some on an openSuSE DVD, but that was it. I checked all the way back to SLES9 GA. Mark Post -- 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
Re: /usr/local -or- /local
Richard Troth wrote: Thanks for all the feedback. I've seen cases where, for example, a sub-dir of /proc is a mount point, and the mount point gets created before /proc is actually mounted. (Some script somewhere must be doing this, because the 'mount' command executable does not.) So a missing /usr/local (mount point) doesn't necessarily ensure that the two cannot get out of sequence. It doesn't matter all that much (to me) whether mounting /usr/local ahead of /usr can be prevented. The cascade of mounts is inelegant. So the question is simply if anyone sees problems with /usr/local being a sym-link to /local ... up one level. Doesn't sound like anyone thinks that is really a problem. I think you are trying to solve a problem that does not exist. I disagree that nesting mounts is inelegant, and your hack belongs to the realm of Crude Hacks(tm). During system initialisation, expect filesystems to be mounted with the mount command thus: mount -a Expect that when this happens that the root filesystem is already mounted. According to fstab(5), the approved way to read fstab in a program is with getmntent(3). Since the documentation for that function does not state otherwise, expect that entries are returned in the order in which they appear. Since that is the standard way of programmatically reading /etc/fstab, it is reasonable to expect the mount command to do that. So, the solution to your problem is to order entries in fstab in the order in which you want them mounted, that is, /usr before /usr/local. Doing this in non-standard ways goes to increasing maintenance costs (you actually have to do extra work) and extra training costs (you have to explain to new hires why you do things in such a strange way). By all means put what I have said before blindly implementing it, I would call that "insurance." I've got another one. Will make that another subject for proper threading. -- R; <>< On Tue, Jan 5, 2010 at 13:55, Richard Troth wrote: folks -- Does anyone see or imagine or know of any negative impact from having /usr/local be a symbolic link to /local? One of my teammates is asking. I have personally endorsed this particular hack. It lets us have /usr and /local each be in their own filesystem and yet not have a mount fight. That is, if /usr/local and /usr were each unique filesystems, you could wind up with bad things like one FS hiding the other. (Rare, but possible.) So instead, I am in the habit of moving /usr/local to /local and letting there be a sym-link /usr/local. What then is the risk? Novell? RedHat? What do y'all say? Is there a problem with this? Thanks. -- R; <>< -- 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 -- Cheers John -- spambait 1...@coco.merseine.nu z1...@coco.merseine.nu -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375 You cannot reply off-list:-) -- 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
sles11 - adding dasd & yast problem
I have just finished installing Sles 11, and now I need to add two mini-disks. The first is read only, the second is read-write. I tried running mkinitrd & zipl like I would for sles10, but it doesn't seem to be working. Mkinitrd is only writing 6 or 8 lines to the console (it writes almost a screen full on sles10), and it seems to be changing the disk identifier from dasdc & dasdd to dasda or dasdb so that /etc/fstab ends up being correct for the current ipl, but not the next. I guess zipl is working, at least the system seems to boot. If I run mkinitrd & zipl manually, the new disks don't seem to be picked up and added to the dasd configuration so they are avail for the next ipl. If I use yast->hardware->dasd to activate them, then the dasd id is changed, and the disks seem to be varied online at the next ipl. How do I get the dasd added and mounted at each ipl? Can I add dasd without using yast and if so how? What commands do I need to run? Problem #2 - When I try to run yast2, I get an error message that Xlib: extension "RANDR" missing on display "localhost:10.0" along with a bunch of other messages. I thought I saw something about Gnome in an earlier error message, and I did not install either Gnome of KDE since I was doing a z/linux install, and neither of these have worked very well on previous sles versions. yast seems to work so far, but I much prefer yast2. Can anyone shed any light on either of these problems? Thank you Sue Sivets -- Suzanne Sivets Systems Programmer Innovation Data Processing 275 Paterson Ave Little Falls, NJ 07424-1658 973-890-7300 Fax 973-890-7147 ssiv...@fdrinnovation.com This email (and attachments, if any) is confidential and access by anyone other than the addressee(s) is unauthorized. We would appreciate your notifying the sender and supp...@fdrinnovation.com immediately if you are not the intended recipient of this message. -- 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
Re: Install of SLES 11 via FTP...
On Wednesday, 01/06/2010 at 06:43 EST, Mark Post wrote: > >>> On 1/6/2010 at 5:26 PM, Alan Altmark wrote: > -snip- > > ... IIRC, the SuSE DVDs contain symlinks. > > No, they don't. I did see some on an openSuSE DVD, but that was it. I checked > all the way back to SLES9 GA. Correction to my original post: Windows doesn't support Rock Ridge (not "red rock"), the POSIX extensions to the ISO 9660 filesystem, including ASCII-encoded mixed-case long file names, symlinks, and file permissions. Alan Altmark z/VM Development IBM Endicott -- 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
Re: sles11 - adding dasd & yast problem
Sue, I think you'll need to use "dasd_configure" on sles 11. I'm not quite that far yet, but that's what I remember and since no one else has answered yet... :) Marcy "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation." -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Sue Sivets Sent: Wednesday, January 06, 2010 7:18 PM To: LINUX-390@VM.MARIST.EDU Subject: [LINUX-390] sles11 - adding dasd & yast problem I have just finished installing Sles 11, and now I need to add two mini-disks. The first is read only, the second is read-write. I tried running mkinitrd & zipl like I would for sles10, but it doesn't seem to be working. Mkinitrd is only writing 6 or 8 lines to the console (it writes almost a screen full on sles10), and it seems to be changing the disk identifier from dasdc & dasdd to dasda or dasdb so that /etc/fstab ends up being correct for the current ipl, but not the next. I guess zipl is working, at least the system seems to boot. If I run mkinitrd & zipl manually, the new disks don't seem to be picked up and added to the dasd configuration so they are avail for the next ipl. If I use yast->hardware->dasd to activate them, then the dasd id is changed, and the disks seem to be varied online at the next ipl. How do I get the dasd added and mounted at each ipl? Can I add dasd without using yast and if so how? What commands do I need to run? Problem #2 - When I try to run yast2, I get an error message that Xlib: extension "RANDR" missing on display "localhost:10.0" along with a bunch of other messages. I thought I saw something about Gnome in an earlier error message, and I did not install either Gnome of KDE since I was doing a z/linux install, and neither of these have worked very well on previous sles versions. yast seems to work so far, but I much prefer yast2. Can anyone shed any light on either of these problems? Thank you Sue Sivets -- Suzanne Sivets Systems Programmer Innovation Data Processing 275 Paterson Ave Little Falls, NJ 07424-1658 973-890-7300 Fax 973-890-7147 ssiv...@fdrinnovation.com This email (and attachments, if any) is confidential and access by anyone other than the addressee(s) is unauthorized. We would appreciate your notifying the sender and supp...@fdrinnovation.com immediately if you are not the intended recipient of this message. -- 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 -- 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