升级SUSE到SP4_第1页
升级SUSE到SP4_第2页
升级SUSE到SP4_第3页
升级SUSE到SP4_第4页
升级SUSE到SP4_第5页
已阅读5页,还剩19页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、Upgrade Suse升级SUSE以下做三个测试.1. 直接升级kernel.2. 安装新的kernel 并保留旧的kernel3.从SLES SP3升级到SP4Issue:The Linux kernel version is( 3.0.76-0.11-defaultoutdated), according to SAP NOTE 2084325:Linux Kernel lower than 3.0.80-0.5.1 can cause XFS filesystem data inconsistency after a reboot and, in the worst cases, a

2、system standstill. Please see SAP NOTE 1867783 for details.  Recommendations: Upgrade to at least below according to Note 1557506      SLES 11.2                3.0.101-0.7.23.1   &

3、#160;  SLES 11.3                3.0.101-0.40download:下载 kernel-default 和 kernel-base需要login有权限才能下载Upgrade kernel directlyhana21:/ # ls /boot/System.map-3.0.76-0.11-default boot.readme initrd message vmlinuzbackup_mbr con

4、fig-3.0.76-0.11-default initrd-3.0.76-0.11-default symvers-3.0.76-0.11-default.gz vmlinuz-3.0.76-0.11-defaultboot grub lost+found vmlinux-3.0.76-0.11-default.gzhana21: # cat /etc/SuSE-releaseSUSE Linux Enterprise Server 11 (x86_64)VERSION = 11PATCHLEVEL = 3hana21: # ls.ICEauthority .eclipse .gnome2

5、.hdb .pulse .ssh Desktop kernel-default-3.0.101-0.40.1.x86_64.rpm.bash_history .esd_auth .gnome2_private .kbd .pulse-cookie .suse_register.log Documents kernel-default-base-3.0.101-0.40.1.x86_64.rpm.config .exrc .gnupg .local .recently-used.xbel .viminfo bin.dbus .gconf .gstreamer-0.10 .mozilla .sdb

6、 .xsession-errors hdbstudio.dmrc .gconfd .gvfs .nautilus .skel .xsession-errors.old inst-syshana21: # rpm -Uvh kernel-default-* ( just update kernel-default is enough )Preparing. # 100% 1:kernel-default-base # 50%Kernel image: /boot/vmlinuz-3.0.101-0.40-defaultInitrd image: /boot/initrd-3.0.101-0.40

7、-defaultRoot device:/dev/system/root_lv (mounted on / as ext3)Resume device:/dev/system/swap_lvfind: /lib/modules/3.0.101-0.40-default/kernel/drivers/scsi/device_handler': No such file or directorymodprobe: Module thermal not found.WARNING: no dependencies for kernel module 'thermal' fou

8、nd.modprobe: Module processor not found.WARNING: no dependencies for kernel module 'processor' found.modprobe: Module fan not found.WARNING: no dependencies for kernel module 'fan' found.modprobe: Module mptspi not found.WARNING: no dependencies for kernel module 'mptspi' fou

9、nd.modprobe: Module ata_generic not found.WARNING: no dependencies for kernel module 'ata_generic' found.modprobe: Module dm_mirror not found.WARNING: no dependencies for kernel module 'dm-mirror' found.modprobe: Module dm_snapshot not found.WARNING: no dependencies for kernel module

10、 'dm-snapshot' found.modprobe: Module linear not found.WARNING: no dependencies for kernel module 'linear' found.Kernel Modules:scsi_mod libata ata_piix dm-mod mbcache jbd ext3 crc-t10dif sd_modFeatures: acpi dm block lvm2 resume.userspace resume.kernelBootsplash:SLES (800x600)37594

11、blocks 2:kernel-default # 100%Kernel image: /boot/vmlinuz-3.0.101-0.40-defaultInitrd image: /boot/initrd-3.0.101-0.40-defaultRoot device:/dev/system/root_lv (mounted on / as ext3)Resume device:/dev/system/swap_lvKernel Modules:hwmon thermal_sys thermal processor fan scsi_mod scsi_transport_spi mptba

12、se mptscsih mptspi libata ata_piix ata_generic dm-mod dm-log dm-region-hash dm-mirror dm-snapshot scsi_dh scsi_dh_rdac scsi_dh_emc scsi_dh_alua scsi_dh_hp_sw mbcache jbd ext3 linear crc-t10dif sd_modFeatures: acpi dm block lvm2 resume.userspace resume.kernelBootsplash:SLES (800x600)39174 blockshana2

13、1: # ls /boot/System.map-3.0.101-0.40-default boot.readme initrd message vmlinuzbackup_mbr config-3.0.101-0.40-default initrd-3.0.101-0.40-default symvers-3.0.101-0.40-default.gz vmlinuz-3.0.101-0.40-defaultboot grub lost+found vmlinux-3.0.101-0.40-default.gzhana21: # uname -aLinux hana21 3.0.76-0.1

14、1-default #1 SMP Fri Jun 14 08:21:43 UTC 2013 (ccab990) x86_64 x86_64 x86_64 GNU/Linuxhana21: # rebootBroadcast message from root (pts/0) (Thu Jan 14 01:50:22 2016):The system is going down for reboot NOW!hana21: # uname -aLinux hana21 3.0.101-0.40-default #1 SMP Thu Sep 18 13:09:38 UTC 2014 (44b8c9

15、5) x86_64 x86_64 x86_64 GNU/Linuxhana21: #Using install instead of upgrade to keep original kernelsusetemp: # ll -h kernel-default-3.0.101-0.40.1.x86_64.rpm-rw-r-r- 1 root root 23M Jan 18 17:44 kernel-default-3.0.101-0.40.1.x86_64.rpmsusetemp: # uname -aLinux 3.0.76-0.11-default #1 SMP Fri Jun 14 08

16、:21:43 UTC 2013 (ccab990) x86_64 x86_64 x86_64 GNU/Linuxsusetemp: # ll /boot/total 19467-rw-r-r- 1 root root 2067870 Jun 14 2013 System.map-3.0.76-0.11-default-rw-r-r- 1 root root 512 Oct 23 03:55 backup_mbrlrwxrwxrwx 1 root root 1 Oct 23 03:51 boot -> .-rw-r-r- 1 root root 1236 May 11 2013 boot.

17、readme-rw-r-r- 1 root root 131683 Jun 14 2013 config-3.0.76-0.11-defaultdrwxr-xr-x 2 root root 1024 Oct 23 03:55 grublrwxrwxrwx 1 root root 26 Oct 23 03:55 initrd -> initrd-3.0.76-0.11-default-rw-r-r- 1 root root 8424214 Oct 23 03:55 initrd-3.0.76-0.11-defaultdrwx- 2 root root 12288 Oct 23 03:47

18、lost+found-rw-r-r- 1 root root 435712 Oct 23 03:55 message-rw-r-r- 1 root root 224012 Jun 14 2013 symvers-3.0.76-0.11-default.gz-rw-r-r- 1 root root 4605902 Jun 14 2013 vmlinux-3.0.76-0.11-default.gzlrwxrwxrwx 1 root root 27 Oct 23 03:52 vmlinuz -> vmlinuz-3.0.76-0.11-default-rw-r-r- 1 root root

19、3941312 Jun 14 2013 vmlinuz-3.0.76-0.11-defaultsusetemp: # rpm -ivh kernel-default-3.0.101-0.40.1.x86_64.rpmerror: Failed dependencies:kernel-default-base_x86_64 = 3.0.101-0.40.1 is needed by kernel-default-3.0.101-0.40.1.x86_64susetemp: # scp hana21:/root/kernel-default-base-3.0.101-0.40.1.x86_64.r

20、pm .The authenticity of host 'hana21 (192.168.76.181)' can't be established.ECDSA key fingerprint is 9c:77:95:51:50:66:61:bd:ec:fb:c3:e2:97:31:82:c5 MD5.Are you sure you want to continue connecting (yes/no)? yesWarning: Permanently added 'hana21,192.168.76.181' (ECDSA) to the lis

21、t of known hosts.Password:kernel-default-base-3.0.101-0.40.1.x86_64.rpm 100% 15MB 7.4MB/s 00:02susetemp: # ll -h kernel-default-base-3.0.101-0.40.1.x86_64.rpm-rw-r-r- 1 root root 15M Jan 18 17:46 kernel-default-base-3.0.101-0.40.1.x86_64.rpmsusetemp: # rpm -ivh kernel-default-3.0.101-0.40.1.x86_64.r

22、pmerror: Failed dependencies:kernel-default-base_x86_64 = 3.0.101-0.40.1 is needed by kernel-default-3.0.101-0.40.1.x86_64susetemp: # rpm -ivh kernel-default-*Preparing. # 100% 1:kernel-default-base # 50%Scanning scripts .Resolve dependencies .Install symlinks in /lib/mkinitrd/setup .Install symlink

23、s in /lib/mkinitrd/boot .Kernel image: /boot/vmlinuz-3.0.101-0.40-defaultInitrd image: /boot/initrd-3.0.101-0.40-defaultRoot device:/dev/system/root_lv (mounted on / as ext3)Resume device:/dev/system/swap_lvfind: /lib/modules/3.0.101-0.40-default/kernel/drivers/scsi/device_handler': No such file

24、 or directorymodprobe: Module thermal not found.WARNING: no dependencies for kernel module 'thermal' found.modprobe: Module processor not found.WARNING: no dependencies for kernel module 'processor' found.modprobe: Module fan not found.WARNING: no dependencies for kernel module '

25、fan' found.modprobe: Module mptspi not found.WARNING: no dependencies for kernel module 'mptspi' found.modprobe: Module ata_generic not found.WARNING: no dependencies for kernel module 'ata_generic' found.modprobe: Module dm_mirror not found.WARNING: no dependencies for kernel mo

26、dule 'dm-mirror' found.modprobe: Module dm_snapshot not found.WARNING: no dependencies for kernel module 'dm-snapshot' found.modprobe: Module linear not found.WARNING: no dependencies for kernel module 'linear' found.Kernel Modules:scsi_mod libata ata_piix dm-mod mbcache jbd

27、ext3 crc-t10dif sd_modFeatures: acpi dm block lvm2 resume.userspace resume.kernelBootsplash:SLES (800x600)37595 blocks 2:kernel-default # 100%Kernel image: /boot/vmlinuz-3.0.101-0.40-defaultInitrd image: /boot/initrd-3.0.101-0.40-defaultRoot device:/dev/system/root_lv (mounted on / as ext3)Resume de

28、vice:/dev/system/swap_lvKernel Modules:hwmon thermal_sys thermal processor fan scsi_mod scsi_transport_spi mptbase mptscsih mptspi libata ata_piix ata_generic dm-mod dm-log dm-region-hash dm-mirror dm-snapshot scsi_dh scsi_dh_hp_sw scsi_dh_alua scsi_dh_rdac scsi_dh_emc mbcache jbd ext3 linear crc-t1

29、0dif sd_modFeatures: acpi dm block lvm2 resume.userspace resume.kernelBootsplash:SLES (800x600)39175 blockssusetemp: # uname -aLinux 3.0.76-0.11-default #1 SMP Fri Jun 14 08:21:43 UTC 2013 (ccab990) x86_64 x86_64 x86_64 GNU/Linuxsusetemp: # ll -h /boot/total 38M-rw-r-r- 1 root root 2.0M Sep 24 2014

30、System.map-3.0.101-0.40-default-rw-r-r- 1 root root 2.0M Jun 14 2013 System.map-3.0.76-0.11-default-rw-r-r- 1 root root 512 Oct 23 03:55 backup_mbrlrwxrwxrwx 1 root root 1 Oct 23 03:51 boot -> .-rw-r-r- 1 root root 1.3K May 11 2013 boot.readme-rw-r-r- 1 root root 129K Sep 23 2014 config-3.0.101-0.40-default-rw-r-r- 1 root root 129K Jun 14 2013 config-3.0.76-0.11-default-rw-r-r- 1 root root 0 Jan 18 17:47 do_purge_kernelsdrwxr-xr-x 2 root root 1.0K Jan 18 17:47 grublrwxrwxrwx 1 root root 27 Jan 18 17:47 initrd -> initrd-3.0.101-0.40-default-rw-r-r- 1

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论