add the disk in the linux
来源:互联网 发布:java 删除临时文件 编辑:程序博客网 时间:2024/05/16 10:45
[root@localhost ~]# fdisk -l
Disk /dev/sda: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 1044 8281507+ 8e Linux LVM
Disk /dev/sdb: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdb doesn't contain a valid partition table
[root@localhost ~]# fdisk /dev/sdb
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
The number of cylinders for this disk is set to 1044.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-1044, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-1044, default 1044):
Using default value 1044
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
[root@localhost ~]# reboot
Broadcast message from root (pts/1) (Wed Oct 21 06:23:16 2009):
The system is going down for reboot NOW!
[root@localhost ~]# Connection to 172.30.88.170 closed by remote host.
Connection to 172.30.88.170 closed.
bdong@bdong-desktop:~$ ssh root@172.30.88.170
root@172.30.88.170's password:
Last login: Wed Oct 21 06:02:09 2009 from 10.50.20.25
[root@localhost ~]# fdisk -l
Disk /dev/sda: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 1044 8281507+ 8e Linux LVM
Disk /dev/sdb: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 1044 8385898+ 83 Linux
- add the disk in the linux
- Add new disk via LVM in linux
- No Disk in the Drive 错误
- Add a system call to the linux kernel in Ubuntu
- View and Change the Disk Signature in the MBR
- Add Expand/Collapse in the report
- UVa11040 - Add bricks in the wall
- UVA 11040 - Add bricks in the wall
- UVa 11040 - Add bricks in the wall
- UVA11040 - Add bricks in the wall
- UVa 11040 - Add bricks in the wall
- uva 11040 - Add bricks in the wall
- UVA1426-Add Bricks in The Wall
- UVA 11040 Add bricks in the wall
- UVa 11040 - Add bricks in the wall
- Add bricks in the wall UVA
- Add bricks in the wall UVA
- Error:"failed to open the hard disk" in virtualbox
- ORACLE Group by 总结
- 使用eclipse自带的Navigator
- OSGi-Based Smart Home Architecture for Heterogeneous Network-20090924
- mysql命令集锦
- 某个类输出日志到某个log文件配置
- add the disk in the linux
- 如何让老板放心,杂烩
- Service and Service Composition
- 动态Web表格
- 博客
- 【转载】当爱只是需要
- c#后台调用前台与js方法互调
- matlab中如何封装打包EXE文件
- 在VC++对话框宽高各600的区域填充位图 需要像素多大的图片