Mount NTFS / Ext2 / Ext3 / FAT 16 / FAT 32 in Solaris
I often get queries about mounting NTFS / Ext2 / Ext3 / FAT 16 / FAT 32 partions in Solaris . Follow the below steps . Note that its only read-only support for NTFS / Ext2 / Ext3 .
* Download packages
FSWpart
FSWfsmisc
Note these are packages for x86 Solaris .
* unzip the packages and install it
root~#gzcat FSWpart.tar.gz | tar xvf -
root~#gzcat FSWfsmisc.tar.gz | tar xvf -
root~#pkgadd -d . FSWpart
root~#pkgadd -d . FSWfsmisc
* Now run the prtpart tool
root~#/usr/sbin/prtpart
It would result in following output
root~#/usr/sbin/prtpart
Fdisk information for device /dev/rdsk/c1d0p0
Block Size : 512 bytes
Controller : ide
Disk : cmdk
Capacity : 74 GB
# start block # nblocks startCylSecHd endCylSecHd OSType
1: 0000000063 0006152832 0/ 1/ 1 7e/7f/fe Diagnostic
2: 0006152895 0025173855 7f/41/ 0 ff/ff/fe WIN95 FAT32(LBA)
3: 0031328640 0052432128 ff/ff/fe ff/ff/fe Solaris x86
4: 0083760830 0072535555 ff/ff/fe ff/ff/fe DOS Extended
# start block # nblocks startCylSecHd endCylSecHd OSType
5: 0000000001 0031407012 ff/ff/fe ff/ff/fe Linux native
0: 0031407013 0001994202 ff/ff/fe ff/ff/fe DOS Extended
# start block # nblocks startCylSecHd endCylSecHd OSType
6: 0000000063 0001994139 ff/ff/fe ff/ff/fe Linux swap
0: 0033401215 0039134340 ff/ff/fe ff/ff/fe DOS Extended
# start block # nblocks startCylSecHd endCylSecHd OSType
7: 0000000063 0039134277 ff/ff/fe ff/ff/fe WIN95 FAT32(Upto 2047GB)
Now note the disk id. In the above example its "/dev/rdsk/c1d0p0"
Now run
root~#/usr/sbin/prtpart /dev/rdsk/c1d0p0 -ldevs
Fdisk information for device /dev/rdsk/c1d0p0
** NOTE **
/dev/dsk/c1d0p0 - Physical device referring to entire physical disk
/dev/dsk/c1d0p1 - p4 - Physical devices referring to the 4 primary partitions
/dev/dsk/c1d0p5 ... - Virtual devices referring to logical partitions
Virtual device names can be used to access EXT2 and NTFS on logical partitions
/dev/dsk/c1d0p1 Diagnostic
/dev/dsk/c1d0p2 WIN95 FAT32(LBA)
/dev/dsk/c1d0p3 Solaris x86
/dev/dsk/c1d0p4 DOS Extended
/dev/dsk/c1d0p5 Linux native
/dev/dsk/c1d0p6 Linux swap
/dev/dsk/c1d0p7 WIN95 FAT32(Upto 2047GB)
The above command scan you hard-disk and displays all available filesystems. Note the required filesystems to be mounted.
To mount NTFS partition use
root~#mount -F ntfs /dev/dsk/c1d0p<number> /mnt/windows
To mount FAT 16 / FAT 32 partition use
root~#mount -F pcfs /dev/dsk/c1d0p<number> /mnt/windows
if the above command fails you can try the below option
root~#prtpart /dev/dsk/c1d0p0 -fat
the above command should list the available PCFS / FAT partitions in colon notation, then use the same for mounting (eg)
root~#mount -F pcfs /dev/dsk/c1d0p0:d /mnt/windows
To mount Ext2 / Ext3 partitions use
root~#mount -F ext2fs /dev/dsk/c1d0p<number> /mnt/linux
To unmount a partition use "umount <directory>"
root~#umount /mnt/linux
源文地址:http://blogs.sun.com/pradhap/entry/mount_ntfs_ext2_ext3_in
分享到:
相关推荐
Solaris文件系统分区建议 Solaris文件系统分区建议 Solaris文件系统分区建议
在服务器方面,sun 的solaris 是比较牛的,有什么,SMF, ZFS, DTrace 什么的等,希望大家共同学习
Solaris8,Solaris9,Solaris10,Solaris 11 iso镜像下载
0. c0t0d0就代表这台Ultra 60里面只装了一个硬盘(至于c0t0d0的具体含义,稍后会介绍),代表的是这个硬盘的大小和柱面信息,/pci@1f,4000/scsi@3/sd@0,0所代表的,就是这个硬盘的实际物理地址
Solaris硬盘分区简介,介绍了Solaris硬盘分区情况。
Solaris™ 10 System Administration Essentials is the centerpiece of the new series on Solaris system administration. It covers all of the breakthrough features of the Solaris 10 operating system in ...
Solaris 10 X86安装的详细教程
solaris10完全手册PDF,solaris10安装指南
在solaris10 amd x86_64bit上安装oracle-10gr2在solaris10 amd x86_64bit上安装oracle-10gr2在solaris10 amd x86_64bit上安装oracle-10gr2在solaris10 amd x86_64bit上安装oracle-10gr2在solaris10 amd x86_64bit上...
全面的讲解了Solaris 10 内容挺多,介绍的也相当详细,完全可以当成平时使用得手册!我读完了,只想说Solaris真的很强!
硬盘安装Solaris10的步骤,非常实用
Solaris10调整参数,安装Oracle10G
solaris磁盘阵列Solaris 10 Oracle 10g 小型机项目实施方案
Solaris10系统管理,干兴趣的人看下,参考一下
VMware Workstation下安装Solaris 10操作系统史上最详细.doc
最新版Solaris 10红皮书
很难找的lsof for sparc,solaris 10和solaris 11的两个包我都上传了,安装很简单,一条命令 pkgadd -d lsof.4.87.SPARC.64bit.Solaris.11.pkg
Solaris 10 系统管理 操作系统管理
[SUN的UNIX操作系统solaris.10.for.x86].Solaris.10.sol-10-GA-x86-dvd-iso 网盘下载地址 【付费下载之后的用户,可留言获取更多下载资源】
Solaris_10系统安装图解,详细!易懂!