Solaris 10 x86系统上添加新硬盘
番茄系统家园 · 2022-07-13 01:28:38
过程:
1. 识别新增硬盘
root:/# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0d0
识别出新增硬盘c0d1。
在此次试验中使用命令 devfsadm命令识别出新增硬盘,上还有一些其他。
2. 格式化新增硬盘
root:/# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0d0
root:/# newfs /dev/rdsk/c0d1s0
newfs: construct a new file system /dev/rdsk/c0d1s0: (y/n)? y
Warning: 240 sector(s) in last cylinder unallocated
/dev/rdsk/c0d1s0: 12594960 sectors in 2050 cylinders of 48 tracks, 128 sectors
6149.9MB in 129 cyl groups (16 c/g, 48.00MB/g, 5824 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
32, 98464, 196896, 295328, 393760, 492192, 590624, 689056, 787488, 885920,
11705248, 11803680, 11902112, 12000544, 12098976, 12197408, 12295840,
12394272, 12492704, 12582944
4. 建立挂载点
root:/# mkdir /oracle
root:/# mount /dev/dsk/c0d1s0 /oracle
root:/# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c0d0s0 4.2G 3.3G 880M 80% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 1021M 720K 1021M 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
/usr/lib/libc/libc_hwcap1.so.1
4.2G 3.3G 880M 80% /lib/libc.so.1
fd 0K 0K 0K 0% /dev/fd
swap 1021M 76K 1021M 1% /tmp
swap 1021M 36K 1021M 1% /var/run
/dev/dsk/c0d0s7 5.1G 2.2G 2.9G 44% /export/home
/hgfs 16G 4.0M 16G 1% /hgfs
/tmp/VMwareDnD 64G 16M 64G 1% /var/run/vmblock
/dev/dsk/c0d1s0 5.9G 6.0M 5.8G 1% /oracle
免责声明: 凡标注转载/编译字样内容并非本站原创,转载目的在于传递更多信息,并不代表本网赞同其观点和对其真实性负责。如果你觉得本文好,欢迎推荐给朋友阅读;本文链接: https://m.nndssk.com/xtwt/206586gT8vWS.html。
