- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Regarding File system problem.
Operating System - HP-UX
1753797
Members
7710
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-25-2000 12:40 AM
тАО05-25-2000 12:40 AM
Regarding File system problem.
HI
I have two hard disk .
I have Four file system in first hard disk and two in second.
like /well ---5gb
/ggg ----3gb
Now the problem is i have to delete the 3Gb file system and I have to create Four file system on the same hard disk(removing 3gb).
I have deleted the fils system of 3gb but i could not get any free space on the same hard disk.
I do not know why but i have no idea which command will give me the free space status?
Can anyone guide me how to see the file sytem and how to create the new file systems on the same hard disk.
When i have tried to create the file system it is giving me error " no disk space available on the disk"
I also tried to remove the file system from SAM and DISK and FILE SYSTEM then LOGICAL VOLUME and then just remove the UNUSED logical volume from the list.
But still i am getting error.
Can anyone has seen sch type of problem?
Regards
Nikhil
I have two hard disk .
I have Four file system in first hard disk and two in second.
like /well ---5gb
/ggg ----3gb
Now the problem is i have to delete the 3Gb file system and I have to create Four file system on the same hard disk(removing 3gb).
I have deleted the fils system of 3gb but i could not get any free space on the same hard disk.
I do not know why but i have no idea which command will give me the free space status?
Can anyone guide me how to see the file sytem and how to create the new file systems on the same hard disk.
When i have tried to create the file system it is giving me error " no disk space available on the disk"
I also tried to remove the file system from SAM and DISK and FILE SYSTEM then LOGICAL VOLUME and then just remove the UNUSED logical volume from the list.
But still i am getting error.
Can anyone has seen sch type of problem?
Regards
Nikhil
nikhil
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2000 01:14 AM
тАО05-25-2000 01:14 AM
Re: Regarding File system problem.
what does a pvdisplay -v /dev/dsk/c... | more show you for this disk? are there any free PE's?
Does the lvol you removed still use PE???
Does the lvol you removed still use PE???
There is no good troubleshooting with bad data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2000 02:56 AM
тАО05-25-2000 02:56 AM
Re: Regarding File system problem.
I think your logical volume is still using space on the volume group.
Imagine your filesystem /ggg is on volumegroup vg01, logical volume lvgggg.
Do a "vgdisplay -v vg01 | more" :
Notice the "Free PE" ? PE stands for Physical Extents ; I think it is very low, as you get the error message "no space available".
Can you see your log-volume /dev/vg01/lvggg in the output ? If so, do following :
- umount /ggg (if this works ...)
- lvchange -a n /dev/vg01/lvggg
- lvremove /dev/vg01/lvggg
By doing this, you have removed the log-volume and freed up the physical extents (PE). If you do the vgdisplay again, you will see that the number of "Free PE's" is higher (means : you have more available space).
Now you can create new log-volumes and file-systems :
- lvcreate -n lvnew vg01
- lvextend -l /dev/vg01/lvnew
- newfs -F vxfs /dev/vg01/rlvnew
- mkdir /new
- change your /etc/fstab to remove the old mount-settings and add the new ones.
- mount -a *or* mount /new
I would suggest to read the man-pages of each command before applying them on the system. You never know ...
Imagine your filesystem /ggg is on volumegroup vg01, logical volume lvgggg.
Do a "vgdisplay -v vg01 | more" :
Notice the "Free PE" ? PE stands for Physical Extents ; I think it is very low, as you get the error message "no space available".
Can you see your log-volume /dev/vg01/lvggg in the output ? If so, do following :
- umount /ggg (if this works ...)
- lvchange -a n /dev/vg01/lvggg
- lvremove /dev/vg01/lvggg
By doing this, you have removed the log-volume and freed up the physical extents (PE). If you do the vgdisplay again, you will see that the number of "Free PE's" is higher (means : you have more available space).
Now you can create new log-volumes and file-systems :
- lvcreate -n lvnew vg01
- lvextend -l
- newfs -F vxfs /dev/vg01/rlvnew
- mkdir /new
- change your /etc/fstab to remove the old mount-settings and add the new ones.
- mount -a *or* mount /new
I would suggest to read the man-pages of each command before applying them on the system. You never know ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2000 03:26 AM
тАО05-25-2000 03:26 AM
Re: Regarding File system problem.
Hi,
Say the file system /ggg- 3gb has the lv name /dev/vg01/lvolggg
Now give
vgdisplay -v /dev/vg01 | more
this lists all the lv's in the volume group.
In case the lv /dev/vg01/lvolggg is shown go to case 1 and case 2.
if not, go directly to case 2
case 1:
If the lv /dev/vg01/lvolggg is shown then you have to delete it.
umount /ggg
lvremove /dev/vg01/lvol1ggg
case 2:
If the filesystem is deleted succesfully
The o/p of the vgdisplay ( as said above)command shows the amount free PE in the volume group.
issue these commands for creating the new filesystems
lvcreate -L size_in_MB -n lvname1 /dev/vg01
newfs /dev/vg01/rlvname1
goodluck
venu
Say the file system /ggg- 3gb has the lv name /dev/vg01/lvolggg
Now give
vgdisplay -v /dev/vg01 | more
this lists all the lv's in the volume group.
In case the lv /dev/vg01/lvolggg is shown go to case 1 and case 2.
if not, go directly to case 2
case 1:
If the lv /dev/vg01/lvolggg is shown then you have to delete it.
umount /ggg
lvremove /dev/vg01/lvol1ggg
case 2:
If the filesystem is deleted succesfully
The o/p of the vgdisplay ( as said above)command shows the amount free PE in the volume group.
issue these commands for creating the new filesystems
lvcreate -L size_in_MB -n lvname1 /dev/vg01
newfs /dev/vg01/rlvname1
goodluck
venu
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP