- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- filesystem issues
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
10-30-2008 01:27 AM
10-30-2008 01:27 AM
filesystem issues
i had created filesystem yesterday and mouted it. each filesystem was created of size 35gigs but now its showing only of 6gigs when i see with bdf mount point, but if i use bdf with their lv then it give me the actual size.
i tried to use fsadm but its giving me following error.
fsadm -b 36700160m /oracle/DEY/sapdata1
fsadm: /etc/default/fs is used for determining the file system type
UX:vxfs fsadm: ERROR: V-3-20279: /oracle/DEY/sapdata1 is not the root inode of a vxfs file system
even i tried to umount it but its also giving the below error.
umount /oracle/DEY/sapdata1
umount: cannot unmount /oracle/DEY/sapdata1 : Block device required
umount: return error 1.
please help.
thanks in advance.
~Roy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2008 01:34 AM
10-30-2008 01:34 AM
Re: filesystem issues
I suspect that the filesystem you created yesterday is not currently mounted.
When you do a bdf is the displayed filesystem name same as that you are mentioning in bdf.
e.g.
bdf /oracle/DEY/sapdata1
should return something like
Filesystem kbytes used avail %used Mounted on
/dev/vgxx/lvolyy
524288 285296 237456 55% /oracle/DEY/sapdata1
This is just an example - ignore the names and values.
I think when you do a bdf, the output you are seeing is filesystem beneath which you have another directory /oracle/DEY/sapdata1 which is mount point for your new filesystem.
Please post the output of
bdf /oracle/DEY/sapdata1
also post the output of
bdf | grep "The lvol name you created yesterday"
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2008 01:40 AM
10-30-2008 01:40 AM
Re: filesystem issues
thanks for reply but i have already mounted it...please below output.
mount /dev/vgdey_o2/lv_sd1 /oracle/DEY/sapdata1
mount: /dev/vgdey_o2/lv_sd1 is already mounted on /oracle/DEY/sapdata1
bdf /oracle/DEY/sapdata1
Filesystem kbytes used avail %used Mounted on
/dev/vgdey_o2/lv_sd1
6291456 21352 6221120 0% /oracle/DEY/sapdata1
bdf /dev/vgdey_o2/lv_sd1
Filesystem kbytes used avail %used Mounted on
/dev/vgdey_o2/lv_sd1
36700160 22192 36391424 0% /oracle/DEY/sapdata1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2008 01:46 AM
10-30-2008 01:46 AM
Re: filesystem issues
ok.
Can you also let us know if either /oracle/DEY or /oracle is another filesystem.
Please post the outputs of
bdf /oracle/DEY
and
bdf /oracle
One more possiblity is that you mounted
/oracle/DEY/sapdata1 first and then mounted
/oracle OR /oracle/DEY (whichever may be the filesystem)
In such a case - if no applications are using the filesystem /oracle/DEY/sapdata1 currently - then you can try unmounting and then mounting it again.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2008 02:01 AM
10-30-2008 02:01 AM
Re: filesystem issues
please post the output of
vgdisplay vgdey_o2
lvdisplay /dev/vgdey_o2/lv_sd1
lvdisplay /dev/vgdey_o2/lv_sd1
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2008 02:07 AM
10-30-2008 02:07 AM
Re: filesystem issues
here is the problem ....
bdf /oracle/DEY
Filesystem kbytes used avail %used Mounted on
/dev/vgdey_o2/lv_sd1
6291456 21352 6221120 0% /oracle/DEY/sapdata1
bdf /oracle/DEY/sapdata1
Filesystem kbytes used avail %used Mounted on
/dev/vgdey_o2/lv_sd1
6291456 21352 6221120 0% /oracle/DEY/sapdata1
both of the mountpoints are mounted on the same lv....and also the the mountpoint .oracle.dey is mounted on another lv
/dev/vgdey_o1/lv_oracle
6291456 21352 6221120 0% /oracle/DEY
please let know what to do....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2008 02:11 AM
10-30-2008 02:11 AM
Re: filesystem issues
the output of vgdisplay and lvdisplay is looking good.
vgdisplay /dev/vgdey_o2
--- Volume groups ---
VG Name /dev/vgdey_o2
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 12
Open LV 12
Max PV 255
Cur PV 14
Act PV 14
Max PE per PV 2157
VGDA 28
PE Size (Mbytes) 16
Total PE 30198
Alloc PE 29824
Free PE 374
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
lvdisplay /dev/vgdey_o2/lv_sd1
--- Logical volumes ---
LV Name /dev/vgdey_o2/lv_sd1
VG Name /dev/vgdey_o2
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 35840
Current LE 2240
Allocated PE 2240
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2008 02:15 AM
10-30-2008 02:15 AM
Re: filesystem issues
i have mentioned in my previous post also that i am unable to mount the file system, its giving error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2008 02:17 AM
10-30-2008 02:17 AM
Re: filesystem issues
Exactly as I suspected.
I think you have mounted /oracle/DEY/sapdata1 first and then mounted /oracle/DEY. Hence it is showing like this. You can confirm this by giving command
mount
This will show at what time each filesystem was mounted.
The resolution as I mentioned earlier is to unmount the filesystems and remount them again.
Then the sequence will be
Check that the applications using the filesystems to be unmounted are stopped first and then
1. umount /oracle/DEY (since you mounted this last)
2. umount /oracle/DEY/sapdata1
3. mount /oracle/DEY
4. Check directory /oracle/DEY/sapdata1 exists (if not create it)
5. mount /oracle/DEY/sapdata1
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2008 02:39 AM
10-30-2008 02:39 AM
Re: filesystem issues
here is the exact issue what i got now...
/dev/vgdey_o1/lv_oracle
6291456 21352 6221120 0% /oracle/DEY
the mountpoint /oracle/DEY is mounted on two lv one is ...
/dev/vgdey_o1/lv_sd1.
bdf /oracle/DEY
Filesystem kbytes used avail %used Mounted on
/dev/vgdey_o2/lv_sd1
6291456 21352 6221120 0% /oracle/DEY/sapdata1
and lv_sd1 is llso mounted on mount point /oracle/DEY/sapdata1.
in /etc/fstab we donot have entry for
6291456 21352 6221120 0% /oracle/DEY
and another is /oracle/DEY mounted on /oracle/DEY/sapdata1 .
please let me know how i can recover from here.
thanks in advance.
Roy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2008 02:50 AM
10-30-2008 02:50 AM
Re: filesystem issues
>>>
fsadm -b 36700160m /oracle/DEY/sapdata1
fsadm: /etc/default/fs is used for determining the file system type
UX:vxfs fsadm: ERROR: V-3-20279: /oracle/DEY/sapdata1 is not the root inode of a vxfs file system
>>
(i suspected you using worng option in your fsadm)
swlist |grep -i jfs
(do you have ONLINE JFS)..?
please usaully follow this procedure
steps to lvcreate with Online JFS
lvcreate -L
newfs -F vxfs -o largefiles /dev/vg06/rlvolx
mkdir /
cp /etc/fstab /etc/fstab.
vi /etc/fstab
/dev/vgxx/lovlx /
mount -a
if you have "Online Jfs"
lvcreate -L
fsadm -F vxfs -o largefiles /dev/vgxx/rlvolx
mkdir /
cp /etc/fstab /etc/fstab.
vi /etc/fstab
/dev/vgxx/lovlx /
mount -a
Thanks,
Best Regards,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2008 03:03 AM
10-30-2008 03:03 AM
Re: filesystem issues
but now everything is done, we want to recover it....please suggest how....in previous post i have mentioned the problem.....thanks...Roy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2008 03:06 AM
10-30-2008 03:06 AM
Re: filesystem issues
I dont think its something to do with lvol mounted twice - just the way the output of bdf is confusing you.
Have u tried the steps I have told - of umounting anf mounting -
If it is possible - pls try that and check if ur problem is resolved.
Else - I will reply again. am in a meeting now.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2008 03:10 AM
10-30-2008 03:10 AM
Re: filesystem issues
all the filesystem mounted on the directory /oracle/DEY is showing the same size as of /oracle/DEY whether the size of lvs are different.
/dev/vgdey_o2/lv_sd1
6291456 21520 6221016 0% /oracle/DEY/sapdata1
/dev/vgdey_o2/lv_MlogB
6291456 21520 6221016 0% /oracle/DEY/mirrlogB
/dev/vgdey_o2/lv_OlogA
6291456 21520 6221016 0% /oracle/DEY/origlogA
/dev/vgdey_o2/lv_sd9
6291456 21520 6221016 0% /oracle/DEY/sapdata9
/dev/vgdey_o2/lv_sd5
6291456 21520 6221016 0% /oracle/DEY/sapdata5
/dev/vgdey_o2/lv_sd6
6291456 21520 6221016 0% /oracle/DEY/sapdata6
/dev/vgdey_o2/lv_sd7
6291456 21520 6221016 0% /oracle/DEY/sapdata7
/dev/vgdey_o2/lv_sd8
6291456 21520 6221016 0% /oracle/DEY/sapdata8
/dev/vgdey_o2/lv_sdt
6291456 21520 6221016 0% /oracle/DEY/sapdatat
/dev/vgdey_o2/lv_sd3
6291456 21520 6221016 0% /oracle/DEY/sapdata3
/dev/vgdey_o2/lv_sd2
6291456 21520 6221016 0% /oracle/DEY/sapdata2
/dev/vgdey_o2/lv_sd10
6291456 21520 6221016 0% /oracle/DEY/sapdata10
/dev/vgdey_o1/lv_oracle
6291456 21520 6221016 0% /oracle/DEY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2008 03:17 AM
10-30-2008 03:17 AM
Re: filesystem issues
ok.
Can you post the output of command mount
The errors are because all the filesystems under /oracle/DEY also need to be unmounted.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2008 03:18 AM
10-30-2008 03:18 AM
Re: filesystem issues
>>we want to recover it....please suggest how....in previous post i have mentioned the problem>>
is it new logical volume created..?
yes
fuser -c /oracle/DEY/sapdata1
(the above command will who currently using the file system)
fuser -ku /oracle/DEY/sapdata1
(kick all the user who currently using)
umount /oracle/DEY/sapdata1
lvremove /dev/vgxx/lvolx
lvcreate -L
newfs -F vxfs -o largefiles /dev/vg06/rlvolx
mkdir /
cp /etc/fstab /etc/fstab.
vi /etc/fstab
/dev/vgxx/lovlx /
lvdisplay -v /dev/vgxx/lvolxx
mount -a
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2008 03:22 AM
10-30-2008 03:22 AM
Re: filesystem issues
# mv /etc/mnttab /etc/mnttab.bk
# mount -a
(this should create new mnttab)
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2008 03:31 AM
10-30-2008 03:31 AM
Re: filesystem issues
thanks....Roy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2008 03:33 AM
10-30-2008 03:33 AM
Re: filesystem issues
Can you PLEASE post the output of mount command ???
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2008 04:30 AM
10-30-2008 04:30 AM
Re: filesystem issues
the issue got resolve now.....i dont know but after some time i tried and it get unmounted ...now everything is fine....the issue was ....just i was not able to unmount the file system......thanks guys...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2008 04:31 AM
10-30-2008 04:31 AM