Operating System - HP-UX
1752805 Members
5501 Online
108789 Solutions
New Discussion юеВ

"unrecognized file system" after newfs.

 
SOLVED
Go to solution
stephen peng
Valued Contributor

"unrecognized file system" after newfs.

Guys,
I've got following issue:
[RX6600_4][root][/dev/vgpeng]#newfs /dev/vgpeng/rpeng1
newfs: /etc/default/fs is used for determining the file system type
version 6 layout
1048576 sectors, 1048576 blocks of size 1024, log size 16384 blocks
largefiles supported
[RX6600_4][root][/dev/vgpeng]#mount /dev/vgpeng/rpeng1 /peng
mount: /dev/vgpeng/rpeng1 is an invalid operand
[RX6600_4][root][/dev/vgpeng]#mount /dev/vgpeng/peng1 /peng
/dev/vgpeng/peng1: unrecognized file system
[RX6600_4][root][/dev/vgpeng]#newfs -F vxfs -o largefiles /dev/vgpeng/rpeng1
version 6 layout
1048576 sectors, 1048576 blocks of size 1024, log size 16384 blocks
largefiles supported
[RX6600_4][root][/dev/vgpeng]#mount -o largefiles /dev/vgpeng/peng1 /peng
/dev/vgpeng/peng1: unrecognized file system

never seen that, what could this be?

regards
Stephen
21 REPLIES 21
madhuchakkaravarthy
Trusted Contributor

Re: "unrecognized file system" after newfs.

hi

run fsck -F vxfs -o full /dev/vgpeng/lpeng1

regards

MC
Ismail Azad
Esteemed Contributor

Re: "unrecognized file system" after newfs.

Hi,

Well a guess.... Could there be something wrong with your "block" device file as the newfs argument with the "raw" device file seems to work. Probably your peng block device file is missing??

Regards
Ismail Azad
Read, read and read... Then read again until you read "between the lines".....
stephen peng
Valued Contributor

Re: "unrecognized file system" after newfs.

Guys,
[RX6600_4][root][/dev/vgpeng]#fsck -F vxfs -o full /dev/vgpeng/rpeng1
log replay in progress
pass0 - checking structural files
pass1 - checking inode sanity and blocks
pass2 - checking directory linkage
pass3 - checking reference counts
pass4 - checking resource maps
OK to clear log? (ynq)y
flush fileset headers? (ynq)y
set state to CLEAN? (ynq)y
[RX6600_4][root][/dev/vgpeng]#mount /dev/vgpeng/peng1 /peng
/dev/vgpeng/peng1: unrecognized file system
[RX6600_4][root][/dev/vgpeng]#ll
total 0
crw-r--r-- 1 root sys 64 0x060000 Apr 1 13:49 group
brw-r----- 1 root sys 64 0x060001 Apr 1 13:51 peng1
crw-r----- 1 root sys 64 0x060001 Apr 1 13:51 rpeng1

I just created this lv and newfs it, then it was told to be unrecognized, this confused me.

regards
Stephen
madhuchakkaravarthy
Trusted Contributor

Re: "unrecognized file system" after newfs.

hi

what does the fstyp -v /dev/vgpeng/peng1 shows.

regards

MC
stephen peng
Valued Contributor

Re: "unrecognized file system" after newfs.

RX6600_4][root][/]#fstyp -v /dev/vg00/lvol7
unknown_fstyp (no matches)
[RX6600_4][root][/]#fstyp -v /dev/vgpeng/peng1
unknown_fstyp (no matches)

look like something was wrong.
Zinky
Honored Contributor

Re: "unrecognized file system" after newfs.

cd out of the vg directory
try lvremoving your lvol
then recreate the filesystem:

mkfs -F vxfs -o bsize=8192,largefiles /dev/vgpeng/rpeng1

mkdir /a
mount /dev/vgpeng/peng1 /a

Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
stephen peng
Valued Contributor

Re: "unrecognized file system" after newfs.

Alzhy├п┬╝
[RX6600_4][root][/]#mkfs -F vxfs -o bsize=8192,largefiles /dev/vgpeng/rpeng1
version 6 layout
1048576 sectors, 131072 blocks of size 8192, log size 2048 blocks
largefiles supported
[RX6600_4][root][/]#mount /dev/vgpeng/peng1 /peng
/dev/vgpeng/peng1: unrecognized file system

regards
Stephen
Zinky
Honored Contributor

Re: "unrecognized file system" after newfs.

how's about:

add in /etc/fstab:

/dev/vgpeng/peng1 /peng vxfs delaylog 0 2


and :

mount /peng

Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
stephen peng
Valued Contributor

Re: "unrecognized file system" after newfs.

Alzhy,
It works! How could this happen? It is a 11.31 box.

regards
Stephen