麻豆小视频在线观看_中文黄色一级片_久久久成人精品_成片免费观看视频大全_午夜精品久久久久久久99热浪潮_成人一区二区三区四区

首頁 > 系統 > Solaris > 正文

Solaris系統管理培訓(第十四章:文件系統掛接)

2024-07-26 00:29:52
字體:
來源:轉載
供稿:網友
掛接就是將分離的文件系統附加到文件系統分成結構中。文件系統要附加到某個掛接點,也就是目錄。 
掛接和卸載文件系統發生在系統啟動和關閉時。 
系統啟動時,將讀取/etc/vfstab文件。這個文件記錄系統要掛接的文件系統。因此/etc/vfstab文件中的文件系統將自動掛接。也可以從命令行方式下人工掛接文件系統。 

不加參數的mount顯示系統目前已經掛接的文件系統。 
# mount 
/ on /dev/dsk/c0t3d0s0 read/write/setuid/largefiles/logging on Mon Nov 18 
17:58:19 1998 
/usr on /dev/dsk/c0t3d0s6 read/write/setuid/largefiles/logging on Mon Nov 18 
17:58:19 1998 
/PRoc on /proc read/write/setuid on Mon Nov 18 17:58:19 1998 
/dev/fd on fd read/write/setuid on Mon Nov 18 17:58:19 1998 
/var on /dev/dsk/c0t3d0s1 nolargefiles/read/write/setuid on Mon Nov 18 17:58:19 
1998 
/opt on /dev/dsk/c0t3d0s5 setuid/read/write/largefiles on Mon Nov 18 17:58:20 
1998 
/tmp on swap read/write on Mon Nov 18 17:58:20 1998 
/pns on dbserver:/export/pse soft/nosuid/remote on Mon Nov 18 19:04:36 1998 

nolargefiles參數將使文件系統中所有新建的文件小于2G字節。 
# mount -o nolargefiles /dev/dsk/c0t3d0s7 /export/home 

使用這個參數可能出現錯誤,原因是由于文件系統包含了大于2G的文件 

要掛接在/etc/vfstab中已有的某個文件系統時,只需要用命令 
# mount /export/home 

/etc/vfstab文件格式 
#device device mount FS fsck mount mount 
#to mount to fsck point type pass at boot ops 
#/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr ufs 1 yes - 
/proc - /proc proc - no - 
fd - /dev/fd fd - no - 
swap - /tmp tmpfs - yes - 
/dev/dsk/c0t3d0s0 /dev/rdsk/c0t3d0s0 / ufs 1 no - 
/dev/dsk/c0t3d0s6 /dev/rdsk/c0t3d0s6 /usr ufs 1 no - 
/dev/dsk/c0t3d0s3 /dev/rdsk/c0t3d0s3 /export ufs 5 yes - 
/dev/dsk/c0t3d0s7 /dev/rdsk/c0t3d0s7 /export/home ufs 5 yes - 
/dev/dsk/c0t3d0s5 /dev/rdsk/c0t3d0s5 /opt ufs 8 yes - 
/dev/dsk/c0t3d0s1 - - swap - no - 


umount卸載文件系統 
# umount /dev/dsk/c0t3d0s7 
或 
# umount /export/home 
如果文件系統中某個文件正在使用,則不能卸載這個文件系統。 


總結:如何增加一個新的硬盤 
1. Set up hardware, including setting switches and attaching cables.  
Follow the instructions included with the new disk. 2. Reboot the system using the command boot -r. This command will restart the system using the reconfigure (-r) option. 
3. Partition the disk.  
4. Create the new file systems as required.  
5. Edit the /etc/vfstab file as required.  
6. Reboot the system. 


光驅、軟驅的使用 
Solaris有個服務進程管理光驅和軟驅,當光盤或軟盤放入機器中,系統會自動的掛接上,掛接的目錄是: 
Media Location 
CD-ROM          /cdrom/cdrom_name 
Diskette /floppy/floppy_name 

如: 
#cd /cdrom/cdrom0 

管理進程叫卷管理服務器,其腳本位于/etc/init.d/volmgt。 

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 日本aaaa片毛片免费观看视频 | 亚洲精品a级 | 成人在线视频一区 | 欧美成人黄色小视频 | 国产精品久久久在线观看 | 香蕉视频99 | 国产美女视频黄a视频免费 日韩黄色在线播放 | 日韩黄在线 | 91福利免费观看 | 欧美黄色视屏 | 黄色高清免费网站 | 成人资源在线观看 | 午夜伦情电午夜伦情电影 | 亚洲伊人色欲综合网 | 亚洲第一成人在线 | 中文字幕欧美亚洲 | 成人一区二区三区在线 | 国产精品一区二区手机在线观看 | 日日艹夜夜艹 | 国产九九热 | 一级毛片真人免费播放视频 | 午夜精品小视频 | 成人福利在线免费观看 | 91精品视频网址 | 国产88久久久国产精品免费二区 | 精品久久久久久久久亚洲 | av在线免费看片 | 中国免费一级毛片 | 日本不卡中文字幕 | 成人福利在线播放 | 一区二区国产在线 | 爱爱视频天天干 | 成人做爽爽爽爽免费国产软件 | 免费a级毛片大学生免费观看 | 国产午夜亚洲精品 | 草碰人人 | 国产午夜精品在线 | 欧美一级免费在线观看 | 中国女警察一级毛片视频 | 一级黄色免费观看 | 国产免费资源 |