fs check on ext3

John Nielsen lists at jnielsen.net
Fri Feb 24 05:10:29 PST 2006


On Friday 24 February 2006 04:57, Pol Hallen wrote:
> Hi all,
>
> i want partition a disk on freebsd
>
> but now the disk is ext3 partition and i need backup a data and later
> create a fbsd slide
>
> i do:
> mount_ext2fs /dev/ad5 /disktmp
> mount_ext2fs: /dev/ad5: Operation not permitted

Are you sure that's the correct device name?  Unless the filesystem really is 
on the beginning of the raw disk, you probably want a "slice" number after 
ad5.  Do an

fdisk ad5

To see what slices are on the disk, and then use the appropriate device name 
(e.g. /dev/ad5s1).

JN


More information about the freebsd-stable mailing list