Sayfalar

mount etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
mount etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster

10 Mart 2017 Cuma

ubuntuda windows alanı mount etme (mounting windows share on ubuntu )

öncelikle cifs ' i yükleyeceğiz

# sudo apt-get install cifs-utils


 linuxde id komutu ile group ve user id kodunu bulun(büyük ihtimal ikisi de 1000 dir)

#id


şimdi mount komutunu çalıştırabiliriz.

# sudo mount //WINSRV/SHARE -t cifs -o uid=1000,gid=1000,username=winuser /mnt/path

örnek:
#sudo mount //10.1.2.3/share -t cifs -o uid=1000,gid=1000,username=IBRAHIMPEKTAS,domain=BIM  /mnt/share
 bu kadar



:)

31 Aralık 2015 Perşembe

IBM AIX lere disk ekleme cıkarma ve mount etme yada mount edilmiş bir disk

How to Add a Disk on AIX Logical Volume Manager (LVM)

1) Add the physical or virtual disk to the logical partition.

2) Rescan your hardware so that the OS is aware of your new disk.

# cfgmgr

3) Check to see your disk. For the purpose of this example, let’s say the new disk is hdisk2.

# lsdev -Cc disk
# lspv

4) Associate your new disk to a volume group. In this case, let’s create a new group called myvg and put hdisk2 in there.

# mkvg -y myvg hdisk2

5) Now you can look at the size of hdisk2. (This command won’t work if it’s not associated with a volume group).

# lspv hdisk2

6) Create a log logical volume for jfs2. This needs to be part of myvg. Note: in the example below, the type is jfs2log and we’re giving it 1 physical partition (PP).

# mklv -t jfs2log myvg 1

7) Look for your new logical volume (lv). Chances are that AIX named it loglv00.

# lsvg
# lsvg -l myvg

8) Create your production logical volume. Let’s make it about 30GB? I’ll name it mylv1.

# lsvg myvg
# mklv -t jfs2 -y mylv1 myvg 30G

9) Lay down your file system on mylv1.

# mkfs -o log=/dev/loglv00 -V jfs2 /dev/mylv1

10) Mount your filesystem.

# mkdir /myfs1
# mount -o log=/dev/loglv00 /dev/mylv1 /myfs1

11) Edit /etc/filesystem and change the dev and log stanzas to match your dev and log names from above









Aşağıdaki 4 komut vgname, lvname ve mount point alanlarına isim vererek sırayla çalıştırabilirsiniz.


öncesinde check etmeliyiz tüm diskleri
##cfgmgr



##mkvg -y vgname -s 512 hdiskX
##mklv -y lvname -t jfs2 -L lvname vgname 100
##crfs -v jfs2 -d lvname -m mount_point -p rw -A yes
##mount mount_point

50GB 'lik bir filesystem oluşturur ve mount_point olarak verdiğiniz alana mount eder.
Diskte yer varsa,
##chfs -size=+10G mount_point

seklinde alani buyutebilirsiniz,

IBM AIX lerde vmount: Operation not permitted hatası

Merhabalar,

Eğer IBM AIX lerde mount etmeye çalışırken bu hatayı alıyorsanız sistem bunu yapmanıza izin vermiyor olabilir.

hata: vmount: Operation not permitted.

check edelim

### nfso -a

          client_delegation = 1
           nfs_max_read_size = 65536
          nfs_max_write_size = 65536
                 nfs_rfc1323 = 1
   nfs_securenfs_authtimeout = 0
    nfs_server_base_priority = 0
           nfs_server_clread = 1
      nfs_use_reserved_ports = 0
   nfs_v3_server_readdirplus = 1
    nfs_v4_fail_over_timeout = 0
                   portcheck = 0
           server_delegation = 1
             utf8_validation = 1
      nfs_server_close_delay = 0


ayarı değiştirip 1 yapmanız gerekebilir.

## nfso -o nfs_use_reserved_ports=1

şimdi mount komutunu çalıştırabilirsiniz

## mount dd2500:/data/col1/dbshare  /dbshare



mount edilmiş mi check edelim
##mount

eğer back-up serverınız varsa orada da makinaya mount edilmiş var mı check edebilirsiniz

back-up serverda

###nfs show clients



.