1838568 Members
5177 Online
110127 Solutions
New Discussion

newfs problem

 
Tom_131
Advisor

newfs problem

I attempted to destroy and recreate my temp directory.

I booted into single user mode.
I remove the /dev/vg00/lvol4
I created a new /dev/vg00/lvol4

When I attempted to create a newfs, but the command I received is "Invalid character device". When I rebooted, the temporary files were still there.

newfs -F vxfs /dev/vg00/rlvol4 did not work for the previously mentioned reasons.

Why and how do I get should I create a few file system?

Thanks,
Tom
2 REPLIES 2
S.K. Chan
Honored Contributor

Re: newfs problem

No sure what are the details of your step but I would have boot in up in LVM maintenance mode, not single-user mode because you're dealing with the root volume group vg00. When the system come up in LVM maintenance mode, activate vg00 first before you do anything on it.
# /sbin/vgchange -a y /dev/vg00
Now perform the rest of the steps, lvremoving lvol4 and recreating it. Make sure the number of extents remains the same and verify all is good "vgdisplay -v /dev/vg00" before rebooting your system.
Ken Hubnik_2
Honored Contributor

Re: newfs problem

check the /dev/vg00 directory and make sure that the character device file likes fine in this directory for lvol4.