![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Does Active Directory top Linux authentication options? - Search Enterprise Linux | iBot | UNIX and Linux RSS News | 0 | 10-31-2007 11:00 PM |
| Linux's future not as dour as IDC predicts, critics say - Search Enterprise Linux | iBot | UNIX and Linux RSS News | 0 | 10-31-2007 01:00 PM |
| Does Active Directory top Linux authentication options? - Search Enterprise Linux | iBot | UNIX and Linux RSS News | 0 | 10-29-2007 03:20 AM |
| Sun Sparc defectors tap Transitive for Linux migrations - Search Enterprise Linux | iBot | UNIX and Linux RSS News | 0 | 08-16-2007 03:10 PM |
| Hovespian cites four vehicles to broaden Linux adoption - Search Enterprise Linux | iBot | UNIX and Linux RSS News | 0 | 08-08-2007 04:30 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Linux on SAN
Hello everyone.
I was wondering if there is a way to increase the size on the LUN on a SAN and make the Linux kernel understand the changes without restarting? In the past it has always been rebooted to see the new values but im sure that there is a way now for the lvm to see the Free PE in pvdisplay, but i have not yet to find this. Ill be grateful if someone here has the answer. Thanks alot in advanced. Cheers. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Quote:
Have a look at ext2online's manpage, the name is ext2 but it works for ext3 as well... watch out & make backups though Provided you still have enough free PE in your VG of course. |
|
#3
|
|||
|
|||
|
Quote:
Thanks for your reply..Im sorry for not being clear... but its not just the filesystem that i want to expand. I need to expand the PV since i have increased the size on the LUN, for example.... /dev/sdb is LUN1 on the SAN, originally its size is 100G so is the PV... now i want to increase the size of LUN1 to 200G and i want Linux to see the changes without a reboot. In the past i have rebooted and run pvresize /dev/sdb for LVM to see the changes made to the PV. So my question is.. is there a way to update PV size after changing the size on the LUN without a reboot? Thanks in advance. |
|
#4
|
|||
|
|||
|
You could try this:
Code:
echo "- - -" > /sys/class/scsi_host/host<X>/scan |
|
#5
|
|||
|
|||
|
Quote:
Thanks for your speedy reply ... but that didnt do it. |
|
#6
|
|||
|
|||
|
try using google to find the script:
rescan_scsi_bus.sh use it with the -w -l -c options as always, please try it in a test environment first. |
|
#7
|
|||
|
|||
|
Quote:
Im sorry again that I wasnt clear... thanks for the tip...I think this script tries to discover new devices on the scsi host adaptor or HBA, i cant see anywhere in the script where it checks for the new sizes of the LUNs it discovers. It looks for new devices and new channels/id. On our system the LUNs are dynamic, so we can add more disks to the array to allocate more storage to the host, but Linux doesnt see the new increased size without rebooting. Thanks in advanced. |
|||
| Google The UNIX and Linux Forums |