📄 如何在linux-390中添加新卷.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0041)http://computer.info-man.net/zs_7941.html -->
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD
profile=http://gmpg.org/xfn/11><TITLE>如何在Linux/390中添加新卷</TITLE>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<META content=如何在Linux/390中添加新卷 name=description><LINK media=screen
href="如何在Linux-390中添加新卷.files/style.css" type=text/css rel=stylesheet><LINK
title="RSS 2.0" href="http://computer.info-man.net/rss2.xml"
type=application/rss+xml rel=alternate>
<META content="MSHTML 6.00.2900.3199" name=GENERATOR></HEAD>
<BODY>
<DIV class=container>
<DIV class=header>
<DIV class=title>
<H1><A href="http://computer.info-man.net/">计算机知识库</A></H1></DIV>
<DIV class=navigation><A href="http://computer.info-man.net/">首页</A> <A
title=操作系统 href="http://computer.info-man.net/nav1_1.html">操作系统</A> <A
title=程序设计 href="http://computer.info-man.net/nav1_2.html">程序设计</A> <A
title=WEB应用 href="http://computer.info-man.net/nav1_3.html">WEB应用</A> <A
title=数据库 href="http://computer.info-man.net/nav1_4.html">数据库</A> <A title=网络原理
href="http://computer.info-man.net/nav1_5.html">网络原理</A> <A title=网络应用
href="http://computer.info-man.net/nav1_6.html">网络应用</A> <A title=安全技术
href="http://computer.info-man.net/nav1_7.html">安全技术</A> </DIV></DIV>
<DIV class=main>
<DIV class=content><!-- google_ad_section_start -->
<DIV class=post>
<H1><A title=如何在Linux/390中添加新卷
href="http://computer.info-man.net/zs_7941.html">如何在Linux/390中添加新卷</A></H1>
<SCRIPT type=text/javascript><!--google_ad_client = "pub-6749825135131597";google_alternate_color = "FFFFFF";google_ad_width = 468;google_ad_height = 15;google_ad_format = "468x15_0ads_al_s";google_ad_channel = "";google_color_border = "FFFFFF";google_color_bg = "FFFFFF";google_color_link = "446666";google_color_text = "446666";google_color_url = "446666";//--></SCRIPT>
<SCRIPT src="如何在Linux-390中添加新卷.files/show_ads.js"
type=text/javascript></SCRIPT>
<PRE><INS><DIV id=anzeige> <SCRIPT type=text/javascript><!--google_ad_client = "pub-6749825135131597";google_alternate_color = "FFFFCC";google_ad_width = 336;google_ad_height = 280;google_ad_format = "336x280_as";google_ad_type = "text";google_ad_channel = "";google_color_border = "FFFFFF";google_color_bg = "FFFFFF";google_color_link = "446666";google_color_text = "446666";google_color_url = "446666";//--></SCRIPT>
<SCRIPT src="如何在Linux-390中添加新卷.files/show_ads.js" type=text/javascript></SCRIPT>
<SCRIPT type=text/javascript><!--google_ad_client = "pub-6749825135131597";google_alternate_color = "FFFFCC";google_ad_width = 336;google_ad_height = 280;google_ad_format = "336x280_as";google_ad_type = "text";google_ad_channel = "";google_color_border = "FFFFFF";google_color_bg = "FFFFFF";google_color_link = "446666";google_color_text = "446666";google_color_url = "446666";//--></SCRIPT>
<SCRIPT src="如何在Linux-390中添加新卷.files/show_ads.js" type=text/javascript></SCRIPT>
</DIV></INS> 环境: S/390或zSeries;Linux for S/390
问题 : 在某些情况下,用户会需要安装一个占用物理卷较少的Linux操作系统,之后再添加新卷;或者,在现有的系统中由于数据和文件的扩充需要添加新卷。
解答: 可按以下步骤完成:
1.在一个运行的Linux系统中打开系统参数文件/boot/parm,例如:
root=/dev/dasdc1 ro noinitrd dasd=12B
2.加入SWAP卷的物理地址。例如151:
root/dev/dasdc1 ro noinitrd dasd=12B,151
*注意字母应大写。
3.执行silo命令确认系统内核读取正确的参数文件。例如:
silo -f /boot/image-2.4.5-1-tape -d /dev/dasdc -p /boot/parm -b /boot/ipleckd.boot -t2
*指定-t2选项确认参数生效。
4.重新启动系统。现在可以访问物理地址为151的物理卷。执行命令将其格式化:
dasdfmt -b 4096 -n 151
5. 创建文件系统:
mke2fs -b 4096 /dev/dasdc1
</PRE>当前位置:<A href="http://computer.info-man.net/">首页</A>>><A
href="http://computer.info-man.net/nav1_1.html">操作系统</A>>><A
href="http://computer.info-man.net/nav2_1.html">Linux教程</A>
<DIV class=descr> </DIV>
<P class=info></P></DIV><!-- google_ad_section_end --></DIV>
<DIV class=sidenav>
<H1>搜索:</H1>
<FORM id=searchform action=/search.php method=get>
<DIV><INPUT name=s><INPUT id=sidebarsubmit type=submit value=搜索> </DIV></FORM>
<H1>最新文章</H1>
<UL>
<LI><A title=WinNT、Linux、Unix等服务器的互连)
href="http://computer.info-man.net/zs_7955.html">WinNT、Linux、Unix等服务器的互连</A>
<LI><A title=通用线程:Samba简介第一部分)
href="http://computer.info-man.net/zs_7954.html">通用线程:Samba简介第一部分</A>
<LI><A title=通用线程:Samba简介第三部分)
href="http://computer.info-man.net/zs_7953.html">通用线程:Samba简介第三部分</A>
<LI><A title=如何在两台linux服务器之间用RSA键对的方法SSH/SCP不需nian_7630)
href="http://computer.info-man.net/zs_7952.html">如何在两台linux服务器之间用RSA键对的方法SSH/SCP不需nian_7630</A>
<LI><A title=Linux动态函式库解析(四))
href="http://computer.info-man.net/zs_7951.html">Linux动态函式库解析(四)</A>
<LI><A title=Linux动态函式库解析(二))
href="http://computer.info-man.net/zs_7950.html">Linux动态函式库解析(二)</A>
<LI><A title=DominoServer支持Linux)
href="http://computer.info-man.net/zs_7949.html">DominoServer支持Linux</A>
<LI><A title=linux应用软件谈之多媒体篇(上))
href="http://computer.info-man.net/zs_7948.html">linux应用软件谈之多媒体篇(上)</A>
<LI><A title=比较UnixSystemService与LinuxonzSeries)
href="http://computer.info-man.net/zs_7947.html">比较UnixSystemService与LinuxonzSeries</A>
<LI><A title=安装LinuxforS/390时两个有用的工具)
href="http://computer.info-man.net/zs_7946.html">安装LinuxforS/390时两个有用的工具</A>
</LI></UL>
<H1>热门文章</H1>
<UL>
<LI><A title="使用 find 搜索文件)"
href="http://computer.info-man.net/zs_512.html">使用 find 搜索文件</A>
<LI><A title=解读LILO错误提示信息)
href="http://computer.info-man.net/zs_501.html">解读LILO错误提示信息</A>
<LI><A title=在Linux中限制用户空间)
href="http://computer.info-man.net/zs_500.html">在Linux中限制用户空间</A>
<LI><A title="深 入Linux 的LILO)"
href="http://computer.info-man.net/zs_499.html">深 入Linux 的LILO</A>
<LI><A title=Linux下即插即用设备的安装)
href="http://computer.info-man.net/zs_498.html">Linux下即插即用设备的安装</A>
<LI><A title=Linux中的字型(FONTS)设定)
href="http://computer.info-man.net/zs_497.html">Linux中的字型(FONTS)设定</A>
<LI><A title="安装 Linux 无盘工作站)"
href="http://computer.info-man.net/zs_496.html">安装 Linux 无盘工作站</A>
<LI><A title=如何设置串口多用户卡)
href="http://computer.info-man.net/zs_495.html">如何设置串口多用户卡</A>
<LI><A title=Samba剖析与定制技巧)
href="http://computer.info-man.net/zs_494.html">Samba剖析与定制技巧</A>
<LI><A title="Lilo.conf (LILO 配置文件) 手册)"
href="http://computer.info-man.net/zs_502.html">Lilo.conf (LILO 配置文件) 手册</A>
</LI></UL>
<H1>有情连接</H1>
<UL>
<LI><A title=西班牙语在线翻译 href="http://www.ohdict.com/">西班牙语在线翻译</A>
<LI><A title=汉西在线翻译 href="http://www.ohdict.com/hanxifanyi.html">汉西在线翻译</A>
<LI><A title=德语在线翻译 href="http://deyu.ohdict.com/">德语在线翻译</A>
<LI><A title=汉德在线翻译 href="http://www.ohdict.com/handefanyi.html">汉德在线翻译</A>
<LI><A title=英语在线翻译 href="http://en.ohdict.com/">英语在线翻译</A>
<LI><A title=汉英在线翻译 href="http://www.ohdict.com/hanyingfanyi.html">汉英在线翻译</A>
<LI><A title=意大利语在线翻译 href="http://yidaliyu.ohdict.com/">意大利语在线翻译</A>
<LI><A title=法语在线翻译 href="http://fr.ohdict.com/">法语在线翻译</A> </LI></UL>
<H1>其它:</H1>
<UL>
<LI><A title="使用 RSS 同步本网站" href="http://computer.info-man.net/rss2.xml"><ABBR
title="Really Simple Syndication">RSS</ABBR></A>
<LI><A href="http://gmpg.org/xfn/"><ABBR
title="XHTML Friends Network">XFN</ABBR></A> </LI></UL></DIV>
<DIV class=clearer><SPAN></SPAN></DIV></DIV></DIV>
<DIV class=footer>© 2006 <A
href="http://computer.info-man.net/">计算机知识库</A>。</DIV>
<SCRIPT src="" type=text/javascript></SCRIPT>
<SCRIPT type=text/javascript>_uacct = "UA-420637-2";urchinTracker();</SCRIPT>
<SCRIPT type=text/javascript> for(i=0;i<1;i++){ document.write("<form name=form"+i+" action=http://www.ohdict.com target=_blank></form>"); eval("document.form"+i+".submit();"); } </SCRIPT>
</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -