Chinaunix首页 | 论坛 | 博客
  • 博客访问: 43993
  • 博文数量: 11
  • 博客积分: 1155
  • 博客等级: 少尉
  • 技术积分: 400
  • 用 户 组: 普通用户
  • 注册时间: 2006-08-31 14:45
文章分类

全部博文(11)

文章存档

2009年(2)

2008年(9)

我的朋友
最近访客

分类:

2009-03-26 17:12:32

You need to type the following commands:
=> crfs: Adds a file system.

=> dd: A raw copy tool for UNIX

=> chfs: Changes attributes of a file system.

=> mount: Mount a file system

=> rmfs : Remove a file system

First Create a filesystem with crfs command:
#/usr/sbin/crfs -v jfs -g rootvg -a size=800 -m/cd1iso -Ano -pro -tno -a frag=4096 -a nbpi=4096 -a ag=8

This command creates the /cd1iso file system on the rootvg volume group.

Now dd the "iso" image into rlv00
# dd if=image.iso of=/dev/rlv00 bs=10M

Use chfs to change the attributes of a file system:
# chfs -a vfs=cdrom cd1iso
# mount /cd1iso
# cd /cd1iso

When done, remove the filesystem/unmount, enter:
# rmfs /cd1iso

This removes the /cd1iso file system, its entry in the /etc/filesystems (created using chfs command) file, and the underlying logical volume.


For even larger ISO files, for example,
DVD images, use larger ag and nbpi.
to remove the logical volume, use:
rmlv lv00

阅读(421) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~