
February 2nd, 2013, 08:07 AM
|
|
Registered User
|
|
Join Date: Feb 2013
Posts: 3
Time spent in forums: 2 h 4 m 27 sec
Reputation Power: 0
|
|
|
with no errors
MyBookLiveDuo:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md1 1.9G 563M 1.3G 31% /
tmpfs 50M 0 50M 0% /lib/init/rw
udev 10M 960K 9.1M 10% /dev
tmpfs 50M 0 50M 0% /dev/shm
tmpfs 50M 4.1M 46M 9% /tmp
ramlog-tmpfs 20M 5.3M 15M 27% /var/log
/dev/md3 1.9T 2.1G 1.9T 1% /DataVolume
MyBookLiveDuo:~# parted
GNU Parted 2.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: ATA WDC WD30EZRX-00D (scsi)
Disk /dev/sda: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
3 15.7MB 528MB 513MB linux-swap(v1) primary raid
1 528MB 2576MB 2048MB ext3 primary raid
2 2576MB 4624MB 2048MB ext3 primary raid
4 4624MB 2000GB 1996GB ext4 primary raid
(parted) unit s
(parted) p
Model: ATA WDC WD30EZRX-00D (scsi)
Disk /dev/sda: 5860533168s
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
3 30720s 1032191s 1001472s linux-swap(v1) primary raid
1 1032192s 5031935s 3999744s ext3 primary raid
2 5031936s 9031679s 3999744s ext3 primary raid
4 9031680s 3907028991s 3897997312s ext4 primary raid
(parted) quit MyBookLiveDuo:/# /etc/init.d/mionet stop
-bash: /etc/init.d/mionet: No such file or directory
MyBookLiveDuo:/# /etc/init.d/twonky stop
-bash: /etc/init.d/twonky: No such file or directory
MyBookLiveDuo:/# /etc/init.d/itunes stop
Stopping itunes server: forked-daapd.
MyBookLiveDuo:/# umount /CacheVolume
umount: /CacheVolume: device is busy
umount: /CacheVolume: device is busy
MyBookLiveDuo:/# umount /nfs
MyBookLiveDuo:/# umount /shares
umount: /shares: device is busy
umount: /shares: device is busy
MyBookLiveDuo:/# umount /DataVolume
MyBookLiveDuo:/# parted
GNU Parted 2.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) unit s
(parted) p
Model: ATA WDC WD30EZRX-00D (scsi)
Disk /dev/sda: 5860533168s
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
3 30720s 1032191s 1001472s linux-swap(v1) primary raid
1 1032192s 5031935s 3999744s ext3 primary raid
2 5031936s 9031679s 3999744s ext3 primary raid
4 9031680s 3907028991s 3897997312s ext4 primary raid
(parted) rm 4
Warning: WARNING: the kernel failed to re-read the partition table on /dev/sda
(Device or resource busy). As a result, it may not reflect all of your changes
until after reboot.
(parted) mkpart primary 9031680s -1
Warning: You requested a partition from 9031680s to 5860533167s.
The closest location we can manage is 9031680s to 5860533134s.
Is this still acceptable to you?
Yes/No? yes
Warning: WARNING: the kernel failed to re-read the partition table on /dev/sda
(Device or resource busy). As a result, it may not reflect all of your changes
until after reboot.
(parted) quit
Information: You may need to update /etc/fstab.
MyBookLiveDuo:/# sync
MyBookLiveDuo:/# reboot
The system is going down for reboot NOW!o (pts/0) (Sat Feb 2 05:02:34 2013):
MyBookLiveDuo:/# exit
logout
Logged back in
MyBookLiveDuo:~# parted
GNU Parted 2.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: ATA WDC WD30EZRX-00D (scsi)
Disk /dev/sda: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
3 15.7MB 528MB 513MB linux-swap(v1) primary raid
1 528MB 2576MB 2048MB ext3 primary raid
2 2576MB 4624MB 2048MB ext3 primary raid
4 4624MB 3001GB 2996GB ext4 primary
Resize worked
(parted) quit
MyBookLiveDuo:~# /etc/init.d/mionet stop
-bash: /etc/init.d/mionet: No such file or directory
MyBookLiveDuo:~# /etc/init.d/twonky stop
-bash: /etc/init.d/twonky: No such file or directory
MyBookLiveDuo:~# /etc/init.d/itunes stop
Stopping itunes server: forked-daapd.
MyBookLiveDuo:~# umount /CacheVolume
MyBookLiveDuo:~# umount /nfs
umount: /nfs: not mounted
MyBookLiveDuo:~# umount /shares
umount: /shares: not mounted
MyBookLiveDuo:~# umount /DataVolume
umount: /DataVolume: not mounted
MyBookLiveDuo:~# e2fsck -f /dev/sda4
e2fsck 1.41.12 (17-May-2010)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda4: 56/30355200 files (1.8% non-contiguous), 152765/30453101 blocks
MyBookLiveDuo:~# resize2fs -p /dev/sda4
resize2fs 1.41.12 (17-May-2010)
Resizing the filesystem on /dev/sda4 to 45714855 (64k) blocks.
Begin pass 1 (max = 233)
Extending the inode table XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
The filesystem on /dev/sda4 is now 45714855 blocks long.
MyBookLiveDuo:~# sync
MyBookLiveDuo:~# reboot
Logged back in
MyBookLiveDuo:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md1 1.9G 565M 1.3G 31% /
tmpfs 50M 0 50M 0% /lib/init/rw
udev 10M 896K 9.2M 9% /dev
tmpfs 50M 0 50M 0% /dev/shm
tmpfs 50M 4.0M 46M 8% /tmp
ramlog-tmpfs 20M 5.0M 16M 25% /var/log
Problem... No /dev/md3 ... /DataVolume
MyBookLiveDuo:~# parted
GNU Parted 2.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: ATA WDC WD30EZRX-00D (scsi)
Disk /dev/sda: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
3 15.7MB 528MB 513MB linux-swap(v1) primary raid
1 528MB 2576MB 2048MB ext3 primary raid
2 2576MB 4624MB 2048MB ext3 primary raid
4 4624MB 3001GB 2996GB ext4 primary
(parted) quit
|