易截截图软件、单文件、免安装、纯绿色、仅160KB

linux下分区、格式化、挂载新硬盘的详细过程

    公司内网的服务器硬盘空间不足,将新买来的150G硬盘挂载并设置成samba的共享目录,关于samba请参考此文章http://blog.csdn.net/linglongwunv/archive/2010/01/19/5212875.aspx,下面介绍怎样将一块新硬盘分区、格式化、挂载到系统,如适合你请继续阅读。服务器上已经有两块硬盘,所以硬盘为sdc,后面就不做说明了,至于不知道sdc怎么回事的人,先去问问百度大哥再回来接着看。
1、# fdisk -l      查看当前磁盘信息,就会发现最下面显示新加入的硬盘不是有效分区,如下:
Disk /dev/sdc: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdc doesn't contain a valid partition table
2、# fdisk /dev/sdc      对新硬盘分区,并根据提示进一步操作
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 182401.
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): h      输入h可查看帮助命令
h: unknown command
Command action
   a   toggle a bootable flag
   b   edit bsd disklabel
   c   toggle the dos compatibility flag
   d   delete a partition
   l   list known partition types
   m   print this menu
   n   add a new partition
   o   create a new empty DOS partition table
   p   print t


相关文档:

实战Linux Bluetooth编程(六) L2CAP编程实例

例一:发送Signaling Packet:
Signaling Command是2个Bluetooth实体之间的L2CAP层命令传输。所以得Signaling Command使用CID 0x0001.
多个Command可以在一个C-frame(control frame)中发送。
 如果要直接发送Signaling Command.需要建立SOCK_RAW类型的L2CAP连接Socket。这样才有机会自己填充Command Code,Identi ......

Linux系统管理实践(9):DHCP服务器配置

    一般来讲,如果你有一个有线调制解调器或者数字用户线路,你就可以使用家里的电脑获取由你的服务提供商动态分配的IP地址。如果在调制解调器和本地网络之间安装了有线/数字用户线路的路由器,你的电脑很有可能是在启动过程中从路由器获取了IP地址。你也可以选择禁用本地路由器中DHCP服务器的功能,而设置 ......

GCC在Ubuntu Linux下的安装

GCC编译工具在Red Hat/Fedora Core发行版中默认已经安装,因此不需要再安装。在Ubuntu发行版中,打开shell,使用下面的命令可以方便的安装GCC编译器(\$为命令行提示符):
  $ sudo apt-get install build-essential
  该命令可以把所需要gcc、g++编译器和make工具及其依赖的其它软件包自动安装并配置好。
  &nb ......

WAS6.1在Linux上的安装


1.  准备条件
1.1 WAS所支持的 Linux  操作系统
查看操作系统请用 lsb_release 命令
#  lsb_release  – a
1.2  WAS6.1Network Deployment 软件包
 
2.  安装 WAS步骤  (root用户操作) ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号