PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : نیاز به آموزش افزایش هارد سرور مجازی لینوکس



irancheat2
October 26th, 2012, 12:31
سلام و خسته نباشید

دوستان چون آموزشی در این مورد در انجمن نبود در بخش آموزشی تاپیک زدم که هم آموزشش داده شده باشه هم مشکل بنده حل بشه

من میخام هارد سرور مجازی لینوکس سنت او اس رو افزایش بدم از وی ام ویر . باید چیکار کنم ؟
در وی ام ویر ا کدوم قسمت ها؟
در ssh باید چیکار کنم؟
جاهای دیگه هم اگه لازم هست کاری انجام بشه لطفا بگید!؟
لطفا دستورات و کارهایی که باید انجام بدم رو مرحله به مرحله و واضح بگید (مبتدی) اگه تصویری باشه که عالیه


چند روش در انجمن دیدم اما فقط گفته بودن باید با دستور بهش وصلش کرد اما دستور یا عکس یا فیلمی ندیدم

اگر کسی آموزش تصویری داره لطفا بزاره که همه استفاده کنند.

من خودم هارد دادم بهش این پیغام اومده تو سی پنل


The filesystem mounted at / on this server is running out of disk space. cPanel operations have been temporarily suspended to prevent something bad from happening. Please ask your system admin to remove any files not in use on that partition. mide



تشکر و دورد بیکران / عیدتون مبارک

irancheat2
November 1st, 2012, 00:48
دوستان سلام

واقعا بعداز یکی دو هفته گذشتن از ایجاد تاپیک من رو شرمنده کردید که انقدر جواب دادید

نخواستیم

هر کسی که بلد هست بیاد من پول میدم بهم یاد بده / تشکر

RoobinaServer
November 1st, 2012, 01:41
با سلام

بنده تاپیکتون را ندیدم عزیز :

بهترین حالت و بهترین کاری که میتونم براتون بکنم دادن لینک آموزشی هست :

HOWTO Add a second hard disk under CentOS 5.3 Jiwen's Blog (http://blog.jiwen.info/?p=115)



ارادتمند سجادیه
یا حق

majid99
January 15th, 2013, 23:28
عزیز لینک باز نمیشه

majidisaloo1
April 21st, 2014, 00:45
با سلام
ببخشید که تاپیک قدیمی بالا میارم اما چون قراره به یک نتیجه ای برسیم و در آینده بشه بهش رجوع کرد این آموزش را قرار میدهم :
Naively, when creating my new VMWare ESXi virtual machines, I was expecting to be able to resize the disks with a one-liner as I have done in the past with container based virtualisation. Unfortunately it’s not quite that simple, the VM partitions will need manually resizing:
Increase the virtual disk size via Vsphere to the relevant amount (VM > edit > hard disk 1). This can be done whilst the VM is live.
Reboot the vm so it picks up the new disk size:
shutdown -r now
Check new disk size, for example this 10GB disk has been increased to 15GB, but its not yet allocated:
fdisk -l
Disk /dev/sda: 15.0 GB, 15032385536 bytes

255 heads, 63 sectors/track, 1827 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 1305 10377990 8e Linux LVM
To add a new partition do the following:
fdisk /dev/sda
n - new
p - primary
3 - partition number (use next available number)
Select default first available cylinder and default last available cylinder
t -type
3 - partition number
8e -set type as LVM
p -view the new partitions layout
w write out the new partitions layout to disk if it looks ok
At this stage you should see something like the following. You will probably get an error as it can’t be read yet, just reboot to apply:
Disk /dev/sda: 15.0 GB, 15032385536 bytes
255 heads, 63 sectors/track, 1827 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 1305 10377990 8e Linux LVM
/dev/sda3 1306 1827 4192965 8e Linux LVM
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
Convert the partition to a physical volume, so that LVM can use it:
pvcreate /dev/sda3
Physical volume "/dev/sda3" successfully created
Add the physical volume to the existing volume group:
vgextend VolGroup00 /dev/sda3
Volume group "VolGroup00" successfully extended
You should now see the free space in the volume group:
vgdisplay
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 6
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 2
Act PV 2
VG Size 13.84 GB
PE Size 32.00 MB
Total PE 443
Alloc PE / Size 316 / 9.88 GB
Free PE / Size 127 / 3.97 GB
VG UUID 5KfNoG-Tp5Y-Q2Nl-PjFZ-FnrA-e7eG-YvQEWc
Assign the free space in the volume group to the logical volume:
lvextend -l +100%FREE /dev/VolGroup00/LogVol00
Perform the online resize of the mounted filesystem:
resize2fs -p /dev/mapper/VolGroup00-LogVol00
resize2fs 1.39 (29-May-2006)
Filesystem at /dev/mapper/VolGroup00-LogVol00 is mounted on /; on-line resizing required
Performing an on-line resize of /dev/mapper/VolGroup00-LogVol00 to 3244032 (4k) blocks.
The filesystem on /dev/mapper/VolGroup00-LogVol00 is now 3244032 blocks long.
Job done, see the new size:
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
12G 1.9G 9.6G 17% /
/dev/sda1 99M 20M 75M 21% /boot
tmpfs 376M 0 376M 0% /dev/shm


منبع :
Increasing Partition Size on a VMWare Linux Virtual Machine | SysAd Nonsense (http://www.tomvernon.co.uk/blog/2010/07/increasing-partition-size-on-a-vmware-linux-virtual-machine/)
لینک کمکی :
Extending partitions on Linux VMware virtual machines - TechRepublic (http://www.techrepublic.com/blog/smb-technologist/extending-partitions-on-linux-vmware-virtual-machines/)

OmidX
April 23rd, 2014, 03:16
ابتدا هارد رو اضافه کنید ، بعد آموزش اضافه کردن هارد و یکی کردن پارتیشن در CentOS - مرکز آموزش - X Server (http://client.my-xserver.com/knowledgebase.php?action=displayarticle&id=45)