Mount: you must specify the filesystem type
Mount: you must specify the filesystem type
問題描述
[root@test1 ~]# mount /dev/sdb2 /var/lib/mysql/
mount: you must specify the filesystem type
問題原因:檢視硬碟系統,未格式化磁碟/dev/sdb2
問題解決:格式化成ext3檔案系統
[root@test1 ~]# mkfs.ext3 /dev/sdb2
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
1048576 inodes, 4194300 blocks
209715 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
128 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000
Writing inode tables: done
Creating journal (32768 blocks):
done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 38 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
掛載成功:
[root@test1 ~]# mount /dev/sdb2 /var/lib/mysql/
[root@test1 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-LogVol01
22G 19G 2.0G 91% /
tmpfs 520M 0 520M 0% /dev/shm
/dev/sda1 485M 33M 427M 8% /boot
/dev/sdb2 16G 173M 15G 2% /var/lib/mysql
[root@test1 ~]#
問題描述
[root@test1 ~]# mount /dev/sdb2 /var/lib/mysql/
mount: you must specify the filesystem type
問題原因:檢視硬碟系統,未格式化磁碟/dev/sdb2
問題解決:格式化成ext3檔案系統
[root@test1 ~]# mkfs.ext3 /dev/sdb2
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
1048576 inodes, 4194300 blocks
209715 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
128 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000
Writing inode tables: done
Creating journal (32768 blocks):
done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 38 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
掛載成功:
[root@test1 ~]# mount /dev/sdb2 /var/lib/mysql/
[root@test1 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-LogVol01
22G 19G 2.0G 91% /
tmpfs 520M 0 520M 0% /dev/shm
/dev/sda1 485M 33M 427M 8% /boot
/dev/sdb2 16G 173M 15G 2% /var/lib/mysql
[root@test1 ~]#
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29500582/viewspace-1369392/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- linux 掛載光碟:mount: you must specify the filesystem typeLinux
- Linux 報錯"mount: unknown filesystem typeLinux
- Caused by: org.hibernate.MappingException: must specify an identifier type:APPExceptionIDE
- oracle asm Unable to mount ASMlib driver filesystemOracleASM
- You can‘t specify target table ‘Person‘ for update in FROM clause
- mysql中You can’t specify target table for update in FROM clMySql
- org.springframework.beans.factory.BeanNotOfRequiredTypeException must be of typeSpringFrameworkBeanUIException
- fuse: mountpoint is not empty fuse: if you are sure this is safe, use the ‘nonempty‘ mount optionNone
- The connection to the server 10.10.0.2:6443 was refused - did you specify the right host or port?Server
- AIX JFS2 Filesystem Concurrent Mount Protection 0506-365 FailureAI
- 除錯記錄:The public type must be defined in its own file除錯
- The content of element type "package" must match "(result-types?,interceptors?...Package
- 區塊鏈概念 That You Must Know 第四期(3)區塊鏈
- npm報錯 TypeError [ERR_INVALID_ARG_TYPE]: The “path“ argument must be of type string.Received undefineNPMError
- Your password has expired. To log in you must change it using a client that supports expired passworclient
- Mysql update in報錯 [Err] 1093 - You can't specify target table 'company_info' for update in FROM clauseMySql
- iOS APP上線前後遇到的問題 you must supply a CFBundleidentifier for this requestiOSAPPIDE
- PropertyReferenceException: No property courseId found for type CoursePic! Did you mean ‘courseid‘?Exception
- Explain in detail the steps/processes that occur from the moment you type a URL in a browser and hit enterAI
- [Shell] monitor filesystem
- django模板報錯:Requested setting TEMPLATE_DEBUG, but settings are not configured. You must either defineDjango
- How to Specify an INDEX Hint oracle官方文件IndexOracle
- 工程中報錯或者警告(持續更新)(例如:does not contain bitcode. You must rebuild it with bitcode enabled )AIRebuild
- PHP Filesystem 簡介PHP
- It's a must to ghd
- You've got to find what you loveGo
- aix mountAI
- 直接用 appium 可以連線真機,用 pycharm 執行指令碼時報錯 “'platformVersion' must be of type string”APPPyCharm指令碼Platform
- XX must be built with ARCUI
- startup mount與startup restrict mount有何區別REST
- linux mountLinux
- mount uuidUI
- 3.linux monitor filesystemLinux
- where are you going ? 反序為:going you are whereGo
- robbin的自白:You've got to find what you loveGo
- find: paths must precede expression:Express
- Flutter:VM snapshot must be valid. Check failed: vm. Must be able to initializeFlutterAI
- 無法寫入檔案 Filesystem