LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
LinkBack Search this Thread
Old 01-20-2012, 01:47 PM   #1
sumitbagga
LQ Newbie
 
Registered: Dec 2011
Posts: 3

Rep: Reputation: Disabled
Smile Unable to create a vxfs (Veritas File System) after creating fresh volumes.


Hello Friends,

This is my 1st query in any of forum. Very New to VxVM. I have spend 2-3 hours to resolve this but no luck. Hope you guys will help me.

I have installed a Fresh Veritas Volume Manager and yes 1st time also

After creating Disk group and Volume. I am not able to create a vxfs in RHEL 5.3_64

Below is the o/p

[root@mhs-app500-aa ~]# vxdisk list
DEVICE TYPE DISK GROUP STATUS
hda auto:none - - online invalid
sda auto:cdsdisk dg_OBIE01 dg_OBIE online
sdb auto:cdsdisk dg_OBIE02 dg_OBIE online
sdc auto:cdsdisk dg_OBIE03 dg_OBIE online
sdd auto:cdsdisk dg_OBIE04 dg_OBIE online

[root@mhs-app500-aa ~]# mkfs -F vxfs /dev/vx/rdsk/dg_OBIE/OBIE
mke2fs 1.39 (29-May-2006)
mkfs.ext2: invalid blocks count - /dev/vx/rdsk/dg_OBIE/OBIE

Please reply...
Thanks
 
Old 01-20-2012, 02:01 PM   #2
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 729

Rep: Reputation: 134Reputation: 134
You cannot create a filesystem on a diskgroup, first create a volume.

Look at the manpage for vxassist to do this.

Helpfull will be sending the output of
Code:
vxprint -ht
 
Old 01-21-2012, 11:31 AM   #3
sumitbagga
LQ Newbie
 
Registered: Dec 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Post

thanks for replying...

[root@mhs-app500-aa Desktop]# vxprint -ht
Disk group: dg_OBIE

DG NAME NCONFIG NLOG MINORS GROUP-ID
ST NAME STATE DM_CNT SPARE_CNT APPVOL_CNT
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
RV NAME RLINK_CNT KSTATE STATE PRIMARY DATAVOLS SRL
RL NAME RVG KSTATE STATE REM_HOST REM_DG REM_RLNK
CO NAME CACHEVOL KSTATE STATE
VT NAME RVG KSTATE STATE NVOLUME
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
EX NAME ASSOC VC PERMS MODE STATE
SR NAME KSTATE

dg dg_OBIE default default 9000 1327086874.21.mhs-app500-aa

dm dg_OBIE01 sda auto 65536 83697104 NOHOTUSE
dm dg_OBIE02 sdb auto 65536 62732288 NOHOTUSE
dm dg_OBIE03 sdc auto 65536 41767456 NOHOTUSE
dm dg_OBIE04 sdd auto 65536 20802640 NOHOTUSE

v OBIE - ENABLED ACTIVE 83886080 SELECT - fsgen
pl OBIE-01 OBIE ENABLED ACTIVE 83886080 CONCAT - RW
sd dg_OBIE01-01 OBIE-01 dg_OBIE01 0 83697104 0 sda ENA
sd dg_OBIE02-01 OBIE-01 dg_OBIE02 0 188976 83697104 sdb ENA


Please ignore "NOHOTUSE". I didn't use the spare disk.

Last edited by sumitbagga; 01-21-2012 at 11:33 AM.
 
Old 01-21-2012, 11:51 AM   #4
sumitbagga
LQ Newbie
 
Registered: Dec 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1Hey!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I am sorry i asked silly question... and i tried to run man pages also, but error was

[root@mhs-app500-aa data]# man vxassist
No manual entry for vxassist

I used -t instead of -F ... now its working...


[root@mhs-app500-aa Desktop]# mount -t vxfs /dev/vx/dsk/dg_OBIE/OBIE /data

[root@mhs-app500-aa Desktop]# cd /data
[root@mhs-app500-aa data]# ls
lost+found


[root@mhs-app500-aa data]# df -h /data
Filesystem Size Used Avail Use% Mounted on
/dev/vx/dsk/dg_OBIE/OBIE
40G 80M 38G 1% /data

Is that fine no??. I believe i have done ??????
 
Old 01-22-2012, 12:28 AM   #5
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 729

Rep: Reputation: 134Reputation: 134
That's fine good luck.
 
Old 01-26-2012, 05:48 AM   #6
sumitbagga
LQ Newbie
 
Registered: Dec 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks for your support...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I mount a VXFS file system under Linux? evolvd Linux - General 2 12-08-2011 03:19 PM
[SOLVED] Symantec (Veritas) Storage Foundation (VxVM & VxFS) on linux? MensaWater Linux - Software 1 04-02-2010 10:56 AM
unable to create file & folder on fat32 file system while similiar other drives work sumeet inani Linux - Newbie 1 06-27-2009 11:46 AM
File system for large volumes archangel_617b Linux - Enterprise 2 08-30-2007 04:06 PM
Invalid File Credentials When Creating on NFS Volumes corbin.sl Linux - Networking 0 08-13-2006 12:05 PM


All times are GMT -5. The time now is 05:50 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration