Langsung ke konten utama

Postingan

Menampilkan postingan dari Mei, 2010

adding disk using logical volume management

1. first , make sure, new hard disk is already detected in your linux box #dmesg | grep disk Vendor: VMware Model: Virtual disk Rev: 1.0 sd 0:0:0:0: Attached scsi disk sda Vendor: VMware Model: Virtual disk Rev: 1.0 sd 0:0:1:0: Attached scsi disk sdb as you can see there are 2 disk device installed. for more detail, we can use fdisk command #fdisk -ls Disk /dev/sda: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 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 2610 20860402+ 8e Linux LVM Disk /dev/sdb: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk /dev/sdb doesn't contain a valid partition table here we can see, /dev/sda has already partition, and active. but /dev/sdb not. so we...

Add new ethernet in linux

1. check whether it already detect in kernel or not using dmesg #dmesg | grep net audit: initializing netlink socket (disabled) SELinux: Registering netfilter hooks Initializing IPsec netlink socket VMware vmxnet virtual NIC driver Found vmxnet/PCI at 0x2024, irq 59. SELinux: Unregistering netfilter hooks pcnet32.c:v1.32 18.Mar.2006 tsbogend@alpha.franken.de process `sysctl' is using deprecated sysctl (syscall) net.ipv6.neigh.lo.base_reachable_time; Use net.ipv6.neigh.lo.base_reachable_time_ms instead. Found vmxnet/PCI at 0x20a4, irq 75. as we can see, we find ethernet call vmcnet/pci 2. give alias in /etc/modprobe.conf #vi /etc/modprobe.conf alias eth0 vmnics alias eth1 vmnics as i have already new ethernet before. so i just add new one below the previous one. since newer ethenet is same with before, so the driver possibly same too 3. next step is probe the driver # modprobe eth1 if something goes well there will no error message 4. after that, try check using ifconfig # ifconf...

Menambahkan disk SAN di solaris

untuk mengenalkan disk SAN di solaris 1. pake command cfgadm -la 2. kalo dah kedetek, push supaya bisa baca file /kernel/drv/sd.conf update_drv -f sd ...3. supaya nda perlu restart devfsadm -C 4. trus, cek dan beri label format 5. setelah di format buat file systemnya newfs /dev/dsk/c4t4d4s6 6. terakhir di mount mount -F /dev/dsk/c4t4d4s6 /data 7 selesai