Today, my virtual machine disk is used, so I want to add a disk. When I mount it, I find that I have to specify the filesystem type. (Note: My system environment is lcentos6.3 virtual machine installed in virtualbox)
It turns out that the disk has no format partition, so the following operation:
1) View first In the current system situation, the newly added disk is sdb
The code is as follows
[root@test ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sr0 11:0 1 1024M 0 rom sda 8:0 0 8G 0 disk ├─sda1 8:1 0 500M 0 part /boot └─sda2 8:2 0 7.5G 0 part ├─VolGroup-lv_root (dm-0) 253:0 0 6.6G 0 lvm /└─VolGroup-lv_swap (dm-1) 253:1 0 992M 0 lvm [SWAP] sdb 8:16 0 8G 0 disk
2) Try to mount, report error
Code is as follows [root@test ~]# mount /Dev/sdb /disk
mount: you must specify the filesystem type 3) format the magnetic
Code is as follows [root@test ~]# mkfs.ext3 /dev/sdb mke2fs 1.41.12 (17-May-2010) /dev/sdb is entire device, not just one partition! Anyway, continue? y,n) y file system label = operating system: Linux block size = 4096 (log = 2) block size = 4096 (log = 2) Stride = 0 blocks, Stripe width = 0 blocks 524288 inodes, 2097152 blocks 104857 blocks ( 5.00%) reserved for the super user first data block=0 Maximum filesystem blocks=2147483648 64 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 Writing inode table: Completing Creating journal (32768 blocks): Completing Writing superblocks and filesystem accounting information: Completing This filesystem will be automatically checked every 27 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. [root@test ~]#
4) Mounted successfully
Code is as follows
[root@test ~]# cd /disk/[root@test disk]# ls Lost+found
5) Increase boot time
Code is as follows tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 /dev/sdb /disk ext3 defaults 0 0
First, the installation of VirtualBox and expansion package installation steps is too simple, and wi
under RedHat Enterprise Linux server 5.4 First, system environment operating system: RedHat Enterp
Linux kernel is very stable, but it is still inevitable to encounter a crash, get the memory image w
First, download the magent download address: http://pan.baidu.com/s/1eRygtEUmkdir -p /usr/local/mag
How Linux uses commands to generate bounce SHELL
Linux desktop environment GNOME practical skills
Kingate proxy server setup steps
Linux operating system compression command related
Restore deleted files under Ext3
Understand the four major IDS intrusion detection tools for Linux platform
Solve ssh automatic disconnection failure
Linux Administrator: Enterprise Port Scanning Policy
Win 7 genuine system query for more detailed authorization information
What are the solutions for watching the player not being able to uninstall every day?
Guarantee Web Server Apache Security Five Measures
How does Win10 set the timer to wake up? How to set the wake-up and wake-up of the timer switch
Crazy scam WinRAR magical powerful compression rate
Aisi assistant import WeChat emoticon package operation tutorial
How to install TTS in different languages for Mac OS X
How to set the automatic login function of Windows7?
Win8.1 how to remove the SkyDrive icon to turn off automatic synchronization