Draftmancorp wrote:What's this:  ???? :scratch
Output from a php script that is not readable, its no problem, its normal
Draftmancorp wrote:What's this:  ???? :scratch
login as: root
root@192.168.1.189's password:
root@fvdwsl-base:/ # gdisk -l /dev/sdb
GPT fdisk (gdisk) version 0.8.5
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sdb: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 00000000-0000-0000-0000-000000000000
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)
Number Start (sector) End (sector) Size Code Name
2 4245504 976773134 463.7 GiB FD00 Linux RAID
5 2048 526335 256.0 MiB 8200 Linux swap
6 526336 559103 16.0 MiB 8300 Linux filesystem
7 559104 591871 16.0 MiB FD00 Linux RAID
8 591872 2402303 884.0 MiB FD00 Linux RAID
9 2402304 4212735 884.0 MiB FD00 Linux RAID
10 4212736 4245503 16.0 MiB 8300 Linux filesystem
root@fvdwsl-base:/ #
gdisk /dev/sdb
gdisk /dev/sdb
login as: root
root@192.168.1.189's password:
root@fvdwsl-base:/ # gdisk -l /dev/sdb
GPT fdisk (gdisk) version 0.8.5
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sdb: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 00000000-0000-0000-0000-000000000000
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)
Number Start (sector) End (sector) Size Code Name
2 4245504 976773134 463.7 GiB FD00 Linux RAID
5 2048 526335 256.0 MiB 8200 Linux swap
6 526336 559103 16.0 MiB 8300 Linux filesystem
7 559104 591871 16.0 MiB FD00 Linux RAID
8 591872 2402303 884.0 MiB FD00 Linux RAID
9 2402304 4212735 884.0 MiB FD00 Linux RAID
10 4212736 4245503 16.0 MiB 8300 Linux filesystem
root@fvdwsl-base:/ # gdisk /dev/sdb
GPT fdisk (gdisk) version 0.8.5
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Command (? for help): d
Partition number (2-10): 10
Command (? for help): d
Partition number (2-9): 9
Command (? for help): d
Partition number (2-8): 8
Command (? for help): d
Partition number (2-7): 7
Command (? for help): d
Partition number (2-6): 6
Command (? for help): d
Partition number (2-5): 5
Command (? for help): d
Using 2
Command (? for help): d
No partitions
Command (? for help): p
Disk /dev/sdb: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 00000000-0000-0000-0000-000000000000
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 2048-sector boundaries
Total free space is 976773101 sectors (465.8 GiB)
Number Start (sector) End (sector) Size Code Name
Command (? for help): w
Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!
Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/sdb.
The operation has completed successfully.
root@fvdwsl-base:/ # gdisk /dev/sdb
GPT fdisk (gdisk) version 0.8.5
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Command (? for help): n
Partition number (1-128, default 1): 8
First sector (34-976773134, default = 2048) or {+-}size{KMGTP}:
Last sector (2048-976773134, default = 976773134) or {+-}size{KMGTP}:
Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300):
Changed type of partition to 'Linux filesystem'
Command (? for help): p
Disk /dev/sdb: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 00000000-0000-0000-0000-000000000000
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)
Number Start (sector) End (sector) Size Code Name
8 2048 976773134 465.8 GiB 8300 Linux filesystem
Command (? for help):
mke2fs -j -m 1 /dev/sdb8
cp /share/1000/public/nas_conf_db.xml /rw_fs/etc/nas_conf_db.xml
Command (? for help): n
Partition number (1-128, default 1): 8
First sector (34-976773134, default = 2048) or {+-}size{KMGTP}:
Last sector (2048-976773134, default = 976773134) or {+-}size{KMGTP}:
Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300):
Changed type of partition to 'Linux filesystem'
Command (? for help): p
Disk /dev/sdb: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 00000000-0000-0000-0000-000000000000
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)
Number Start (sector) End (sector) Size Code Name
8 2048 976773134 465.8 GiB 8300 Linux filesystem
Command (? for help): w
Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!
Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/sdb.
The operation has completed successfully.
root@fvdwsl-base:/ # mke2fs -j -m 1 /dev/sdb8
mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
30531584 inodes, 122096385 blocks
1220963 blocks (1.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
3727 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 27 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
root@fvdwsl-base:/ #
Return to Lacie 5big Network vs2
Users browsing this forum: No registered users and 9 guests