La netapp treballa d’una manera diferent quan emmagatzema dades de la que treballa el sistema operatiu, per no estendrem, la mida dels blocs és diferent. Per això, sempre que la mida de la LUN sigui inferior a 2TB, quan particionem al sistema operatiu, perquè quedi alineat amb la netapp hauríem de posar que el primer sector sigui el 64 amb parted podem fer-ho de la següent manera.
# fdisk /dev/mapper/ASM_data2 Welcome to fdisk (util-linux 2.23.2). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Device does not contain a recognized partition table Building a new DOS disklabel with disk identifier 0xf0dc89d9. The device presents a logical sector size that is smaller than the physical sector size. Aligning to a physical sector (or optimal I/O) size boundary is recommended, or performance may be impacted. Command (m for help): n Partition type: p primary (0 primary, 0 extended, 4 free) e extended Select (default p): p Partition number (1-4, default 1): 1 First sector (2048-419430399, default 2048): Using default value 2048 Last sector, +sectors or +size{K,M,G} (2048-419430399, default 419430399): Using default value 419430399 Partition 1 of type Linux and of size 200 GiB is set Command (m for help): x Expert command (m for help): b Selected partition 1 New beginning of data (1-419430399, default 2048): 64 Expert command (m for help): p Disk /dev/mapper/ASM_data2: 255 heads, 63 sectors, 26108 cylinders Nr AF Hd Sec Cyl Hd Sec Cyl Start Size ID 1 00 32 33 0 85 25 508 64 419430336 83 2 00 0 0 0 0 0 0 0 0 00 3 00 0 0 0 0 0 0 0 0 00 4 00 0 0 0 0 0 0 0 0 00 Expert 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 22: Invalid argument. The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) Syncing disks.
Un cop particionat comprobar si podeu veure la partició, sinó executeu un partprobe per rellegir la taula de particions.
# ll /dev/mapper/ASM_data2* lrwxrwxrwx 1 root root 8 Feb 14 13:38 /dev/mapper/ASM_data2 -> ../dm-40 # partprobe /dev/mapper/ASM_data2 # ll /dev/mapper/ASM_data2* lrwxrwxrwx 1 root root 8 Feb 14 13:41 /dev/mapper/ASM_data2 -> ../dm-40 lrwxrwxrwx 1 root root 8 Feb 14 13:41 /dev/mapper/ASM_data2p1 -> ../dm-41
Si voleu més informació sobre el tema aquí teniu la documentació oficial al respecte