- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- newfs: /dev/vg01/db is not a character device
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2008 12:31 AM
05-23-2008 12:31 AM
I amm following the HP-UX System Admin 1 Training Manual to create new logical volume.
I have followed the following steps : -
1. dd if=/dev/zero of=/dev/rdsk/c3t5d0 bs=1024 count=1024
2. pvcreate -f /dev/rdsk/c3t5d0
3. mkdir /dev/vg01
4. mknod /dev/vg01/group c 64 0x010000
5. vgcreate vg01 /dev/dsk/c3t5d0
6. vgdisplay -v vg01
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 10
Open LV 10
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 8683
VGDA 2
PE Size (Mbytes) 4
Total PE 8681
Alloc PE 7821
Free PE 860
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
7. lvcreate -L 12288 -n db vg01
# lvdisplay /dev/vg01/db
--- Logical volumes ---
LV Name /dev/vg01/db
VG Name /dev/vg01
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 12288
Current LE 3072
Allocated PE 3072
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
8. newfs -F vxfs /dev/vg01/db
vxfs newfs: /dev/vg01/db is not a character device
As per Sys Admin 1 I should be able to successfully create the vxfs.
Did I miss something?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2008 12:38 AM
05-23-2008 12:38 AM
Re: newfs: /dev/vg01/db is not a character device
newfs -F vxfs /dev/vg01/rdb
(use "r"db!)
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2008 12:55 AM
05-23-2008 12:55 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2008 01:09 AM
05-23-2008 01:09 AM
Re: newfs: /dev/vg01/db is not a character device
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2008 01:39 AM
05-23-2008 01:39 AM
Re: newfs: /dev/vg01/db is not a character device
Cant belive i missed "r"...LOL..
here is the result after mounting:
BDF -l
/dev/vg01/db 12582912 3686 12186134 0% /d/db
KR..Yxx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2008 01:40 AM
05-23-2008 01:40 AM
Re: newfs: /dev/vg01/db is not a character device
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2008 01:50 AM
05-23-2008 01:50 AM
Re: newfs: /dev/vg01/db is not a character device
Everything it has been corrected. In creating filesystem command also correct, but lats u should be add with r character. Example
/dev/dsk block device files for disk drives and cdrom
/dev/rdsk raw or character device files for disk drives
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2008 01:53 AM
05-23-2008 01:53 AM
Re: newfs: /dev/vg01/db is not a character device
Everything it has been corrected. In creating filesystem command also correct, but last u should be add with r character. Example
/dev/dsk block device files for disk drives and cdrom
/dev/rdsk raw or character device files for disk drives